summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fd4ca86)
raw | patch | inline | side by side (parent: fd4ca86)
author | Simon Hausmann <simon@lst.de> | |
Sat, 14 Apr 2007 09:21:50 +0000 (11:21 +0200) | ||
committer | Simon Hausmann <simon@lst.de> | |
Sat, 14 Apr 2007 09:21:50 +0000 (11:21 +0200) |
Signed-off-by: Simon Hausmann <simon@lst.de>
contrib/fast-import/git-p4 | patch | blob | history |
index 6db757ae4301ae8bb78945fab1fd51856f9ff465..44a07c27ceb89716a0763358a607d62fd63c7d9b 100755 (executable)
except:
pass
- self.tz = - time.timezone / 36
- tzsign = ("%s" % self.tz)[0]
- if tzsign != '+' and tzsign != '-':
- self.tz = "+" + ("%s" % self.tz)
+ self.tz = "%+03d%02d" % (- time.timezone / 3600, ((- time.timezone % 3600) / 60))
self.gitOutput, self.gitStream, self.gitError = popen2.popen3("git fast-import")