X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=module-tools.py;h=8c19d8dd64cc70ecefa517bbe3bc8dcce2a4ddb4;hb=948d80e7be0b5e30d79cd6edaeffda1a5802bbea;hp=5bbf74b35f58f14a44e1921f0d7d6b1c5a5f0f50;hpb=c8aca89902f74cf4249932e3336c7505160a0458;p=build.git diff --git a/module-tools.py b/module-tools.py index 5bbf74b3..8c19d8dd 100755 --- a/module-tools.py +++ b/module-tools.py @@ -163,6 +163,11 @@ class SvnRepository: def name(self): return os.path.basename(self.path) + def pathname(self): + # for svn modules pathname is just the name of the module as + # all modules are at the root + return self.name() + def url(self): out = Command("svn info %s" % self.path, self.options).output_of() for line in out.split('\n'):