Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/util.py @ 14064:e4bfb9c337f3
remove unused imports and variables
author | Alexander Solovyov <alexander@solovyov.net> |
---|---|
date | Sat, 30 Apr 2011 13:59:14 +0200 |
parents | da65edcac72a |
children | 924c82157d46 |
comparison
equal
deleted
inserted
replaced
14063:87ebf72878ed | 14064:e4bfb9c337f3 |
---|---|
931 when, offset = map(int, date.split(' ')) | 931 when, offset = map(int, date.split(' ')) |
932 except ValueError: | 932 except ValueError: |
933 # fill out defaults | 933 # fill out defaults |
934 now = makedate() | 934 now = makedate() |
935 defaults = {} | 935 defaults = {} |
936 nowmap = {} | |
937 for part in ("d", "mb", "yY", "HI", "M", "S"): | 936 for part in ("d", "mb", "yY", "HI", "M", "S"): |
938 # this piece is for rounding the specific end of unknowns | 937 # this piece is for rounding the specific end of unknowns |
939 b = bias.get(part) | 938 b = bias.get(part) |
940 if b is None: | 939 if b is None: |
941 if part[0] in "HMS": | 940 if part[0] in "HMS": |