##// END OF EJS Templates
paster: fix redundant question on writable dir. The question needs to...
marcink -
r270:2b3a0761 default
parent child Browse files
Show More
@@ -478,9 +478,9 b' class DbManage(object):'
478 elif not os.access(path, os.W_OK) and path_ok:
478 elif not os.access(path, os.W_OK) and path_ok:
479 log.warning('No write permission to given path %s' % (path,))
479 log.warning('No write permission to given path %s' % (path,))
480
480
481 q = ('Given path %s is not writeable, do you want to '
481 q = ('Given path %s is not writeable, do you want to '
482 'continue with read only mode ? [y/n]' % (path,))
482 'continue with read only mode ? [y/n]' % (path,))
483 if not self.ask_ok(q):
483 if not self.ask_ok(q):
484 log.error('Canceled by user')
484 log.error('Canceled by user')
485 sys.exit(-1)
485 sys.exit(-1)
486
486
General Comments 0
You need to be logged in to leave comments. Login now