From: Baris Metin Date: Tue, 23 Aug 2011 18:52:44 +0000 (-0400) Subject: fix pathname for svn modules X-Git-Tag: 5.0-rc23~25^2~1 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=948d80e7be0b5e30d79cd6edaeffda1a5802bbea;hp=c8aca89902f74cf4249932e3336c7505160a0458;p=build.git fix pathname for svn modules --- 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'):