Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions dumpgenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1146,6 +1146,7 @@ def getParameters(params=[]):
action='store_true',
help='resumes previous incomplete dump (requires --path)')
parser.add_argument('--force', action='store_true', help='')
parser.add_argument('--ignore-api-check', action='store_true', help='')
parser.add_argument(
'--user', help='Username if authentication is required.')
parser.add_argument(
Expand Down Expand Up @@ -1271,6 +1272,8 @@ def getParameters(params=[]):
index2 = check[1]
api = check[2]
print 'API is OK: ' + api
elif args.ignore_api_check:
print 'Error in API. Ignoring.'
else:
print 'Error in API. Please, provide a correct path to API'
sys.exit(1)
Expand Down