Commit dd622546 authored by ZhijunWei's avatar ZhijunWei

Update hacking version

Change-Id: I90fb45e5065f13e3a5cc803d5caf42f0e9653da1
parent 3d5001cf
......@@ -204,8 +204,8 @@ class CreateLease(command.CreateCommand):
parsed_args.before_end, '%Y-%m-%d %H:%M')
except ValueError:
raise exception.IncorrectLease
if (parsed_args.before_end < start
or parsed_args.end < parsed_args.before_end):
if (parsed_args.before_end < start or
parsed_args.end < parsed_args.before_end):
raise exception.IncorrectLease
params['before_end'] = datetime.datetime.strftime(
parsed_args.before_end, '%Y-%m-%d %H:%M')
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking>=1.1.0,<1.2.0 # Apache-2.0
mock>=2.0.0 # BSD
oslotest>=3.2.0 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
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