comparison 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
comparison
equal deleted inserted replaced
9435:aa92ce9586d8 9436:96379c93ba6f
38 38
39 def rjoin(self, path): 39 def rjoin(self, path):
40 url = self.url() 40 url = self.url()
41 if url.endswith('/'): 41 if url.endswith('/'):
42 return url + path 42 return url + path
43 return url + '/' + path 43 else:
44 return url + '/' + path