Commit cd5b8735 authored by Sofia Papagiannaki's avatar Sofia Papagiannaki
Browse files

Fix user-set-initial-quota command

Do not display unnecessary message:
"Please use either `--from-file' or `--set-capacity' options"
while importing quotas from file.
parent 0b01f844
......@@ -103,6 +103,7 @@ for a single user from the command line
raise CommandError("Cannot combine option `--from-file' with "
"`--set-capacity'.")
self.import_from_file(from_file)
return
if set_capacity is not None:
user, resource, capacity = set_capacity
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment