Update to 0.9.3.
This commit is contained in:
parent
d995ae45c6
commit
d7559e5f64
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=420752
@ -2,8 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= django-datetime-widget
|
||||
PORTVERSION= 0.6
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.9.3
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -1,2 +1,3 @@
|
||||
SHA256 (django-datetime-widget-0.6.tar.gz) = 361aefed56793d11553ae07975814a1b7df87e21a55c9650d2762571981171b2
|
||||
SIZE (django-datetime-widget-0.6.tar.gz) = 34292
|
||||
TIMESTAMP = 1472004509
|
||||
SHA256 (django-datetime-widget-0.9.3.tar.gz) = bd727b466b7f4bbc23f3a9ec571ef1e2e9977ef1b83a296eb7b796580a168ced
|
||||
SIZE (django-datetime-widget-0.9.3.tar.gz) = 37510
|
||||
|
@ -1,20 +0,0 @@
|
||||
diff --git a/datetimewidget/widgets.py b/datetimewidget/widgets.py
|
||||
index c62930a..3675f0e 100644
|
||||
--- datetimewidget/widgets.py.orig
|
||||
+++ datetimewidget/widgets.py
|
||||
@@ -131,7 +131,7 @@ class DateTimeWidget(MultiWidget):
|
||||
]
|
||||
try:
|
||||
D = to_current_timezone(datetime.strptime(date_time[0], self.format))
|
||||
- except (ValueError, TypeError), e:
|
||||
+ except (ValueError, TypeError) as e :
|
||||
return ''
|
||||
else:
|
||||
return D
|
||||
@@ -181,4 +181,4 @@ class DateTimeWidget(MultiWidget):
|
||||
},
|
||||
js=js
|
||||
)
|
||||
- media = property(_media)
|
||||
\ No newline at end of file
|
||||
+ media = property(_media)
|
Loading…
Reference in New Issue
Block a user