mirror of
https://github.com/git/git.git
synced 2024-05-21 13:56:11 +02:00
git p4: fix labelDetails typo in exception
Signed-off-by: Pete Wyckoff <pw@padd.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
e6777fde8d
commit
a4e9054cfb
|
@ -2406,7 +2406,7 @@ def importP4Labels(self, stream, p4Labels):
|
|||
try:
|
||||
tmwhen = time.strptime(labelDetails['Update'], "%Y/%m/%d %H:%M:%S")
|
||||
except ValueError:
|
||||
print "Could not convert label time %s" % labelDetail['Update']
|
||||
print "Could not convert label time %s" % labelDetails['Update']
|
||||
tmwhen = 1
|
||||
|
||||
when = int(time.mktime(tmwhen))
|
||||
|
|
Loading…
Reference in New Issue