fix pathname for svn modules
authorBaris Metin <bmetin@verivue.com>
Tue, 23 Aug 2011 18:52:44 +0000 (14:52 -0400)
committerBaris Metin <bmetin@verivue.com>
Tue, 23 Aug 2011 18:52:44 +0000 (14:52 -0400)
module-tools.py

index 5bbf74b..8c19d8d 100755 (executable)
@@ -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'):