Skip to content
Snippets Groups Projects
Commit 3a1557f6 authored by sveseli's avatar sveseli
Browse files

exception typo fix

parent a87e0db1
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ class UpdateUserFromApsDbCli(DmCli):
if configFile is None:
raise InvalidRequest('Config file must be provided.')
if not os.path.exists(configFile):
raise InvalidArgument('Invalid config file: %s.', configFile)
raise InvalidArgument('Invalid config file: %s.' % configFile)
def getBadge(self):
return self.options.badge
......
......@@ -27,7 +27,7 @@ class UpdateUsersFromApsDbCli(DmCli):
if configFile is None:
raise InvalidRequest('Config file must be provided.')
if not os.path.exists(configFile):
raise InvalidArgument('Invalid config file: %s.', configFile)
raise InvalidArgument('Invalid config file: %s.' % configFile)
def runCommand(self):
self.parseArgs(usage="""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment