diff mercurial/repo.py @ 9436:96379c93ba6f

improve code readability
author Andrey Somov <py4fun@gmail.com>
date Wed, 09 Sep 2009 11:12:36 +0200
parents 46293a0c7e9f
children 25e572394f5c
line wrap: on
line diff
--- a/mercurial/repo.py	Thu Sep 10 10:31:12 2009 +0200
+++ b/mercurial/repo.py	Wed Sep 09 11:12:36 2009 +0200
@@ -40,4 +40,5 @@
         url = self.url()
         if url.endswith('/'):
             return url + path
-        return url + '/' + path
+        else:
+            return url + '/' + path