Update hacking version

Change-Id: I90fb45e5065f13e3a5cc803d5caf42f0e9653da1
This commit is contained in:
ZhijunWei 2018-12-28 23:03:34 +08:00
parent 3d5001cfa2
commit dd62254686
2 changed files with 3 additions and 3 deletions

View File

@ -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')

View File

@ -1,7 +1,7 @@
# 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<0.11,>=0.10.2
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