##// END OF EJS Templates
repo-group: add path to exception when directory under which repo group should be created already exists.
marcink -
r1152:2e863d15 default
parent child Browse files
Show More
@@ -164,7 +164,8 b' class RepoGroupModel(BaseModel):'
164
164
165 if os.path.isdir(create_path):
165 if os.path.isdir(create_path):
166 if exc_on_failure:
166 if exc_on_failure:
167 raise Exception('That directory already exists !')
167 abs_create_path = os.path.abspath(create_path)
168 raise Exception('Directory `{}` already exists !'.format(abs_create_path))
168 return False
169 return False
169 return True
170 return True
170
171
General Comments 0
You need to be logged in to leave comments. Login now