##// END OF EJS Templates
Don't expand empty [paths] so later interpolation can do the right thing....
Thomas Arendsen Hein -
r1921:acce3f7e default
parent child Browse files
Show More
@@ -60,7 +60,7 b' class ui(object):'
60 if root is None:
60 if root is None:
61 root = os.path.expanduser('~')
61 root = os.path.expanduser('~')
62 for name, path in self.configitems("paths"):
62 for name, path in self.configitems("paths"):
63 if path.find("://") == -1 and not os.path.isabs(path):
63 if path and path.find("://") == -1 and not os.path.isabs(path):
64 self.cdata.set("paths", name, os.path.join(root, path))
64 self.cdata.set("paths", name, os.path.join(root, path))
65
65
66 def setconfig(self, section, name, val):
66 def setconfig(self, section, name, val):
General Comments 0
You need to be logged in to leave comments. Login now