projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
111aa86
)
git: Drop doctest
author
Guido Günther
<agx@sigxcpu.org>
Tue, 30 Jun 2020 08:14:41 +0000
(10:14 +0200)
committer
Guido Günther
<agx@sigxcpu.org>
Tue, 30 Jun 2020 08:14:41 +0000
(10:14 +0200)
dateutil changed the exception.
gbp/git/__init__.py
patch
|
blob
|
history
diff --git
a/gbp/git/__init__.py
b/gbp/git/__init__.py
index 2022870fb22ad12d27e6c7d70028b2a71d1db987..3d0bb0b9f3a289bd46f0377abd28045a58d76061 100644
(file)
--- a/
gbp/git/__init__.py
+++ b/
gbp/git/__init__.py
@@
-38,10
+38,6
@@
def rfc822_date_to_git(rfc822_date, fuzzy=False):
'1206000777 -0700'
>>> rfc822_date_to_git('Sat, 5 Apr 2008 17:01:32 +0200')
'1207407692 +0200'
- >>> rfc822_date_to_git('So, 26 Feb 1998 8:50:00 +0100') # doctest: +ELLIPSIS
- Traceback (most recent call last):
- ...
- ValueError:...
>>> rfc822_date_to_git('So, 26 Feb 1998 8:50:00 +0100', fuzzy=True)
'888479400 +0100'
"""