diff options
Diffstat (limited to 'rdiff-backup')
-rw-r--r-- | rdiff-backup/CHANGELOG | 2 | ||||
-rw-r--r-- | rdiff-backup/rdiff_backup/Time.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG index 8285ced..7452b81 100644 --- a/rdiff-backup/CHANGELOG +++ b/rdiff-backup/CHANGELOG @@ -1,6 +1,8 @@ New in v1.2.3 (????/??/??) --------------------------- +The epoch is now a valid date. Closes Savannah bug #24814. (Andrew Ferguson) + Report that connection has dropped if filesystem operation returns ENOTCONN. Closes Ubuntu bug #219920. (Andrew Ferguson) diff --git a/rdiff-backup/rdiff_backup/Time.py b/rdiff-backup/rdiff_backup/Time.py index 564dc20..fee2276 100644 --- a/rdiff-backup/rdiff_backup/Time.py +++ b/rdiff-backup/rdiff_backup/Time.py @@ -242,6 +242,6 @@ the day).""" % timestr) timestr = "%s-%02d-%02dT00:00:00%s" % (match.group('year'), int(match.group('month')), int(match.group('day')), gettzd()) t = stringtotime(timestr) - if t: return t + if t is not None: return t else: error() |