From 8ffd4c492624f3468edd1201c9ec72308f967a3c Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sat, 28 Feb 2015 03:24:30 +0100 Subject: [PATCH] convert docstrings to triple-double-quoted --- attic/repository.py | 2 +- attic/testsuite/helpers.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/attic/repository.py b/attic/repository.py index 0ee85953a..b52d41c61 100644 --- a/attic/repository.py +++ b/attic/repository.py @@ -41,7 +41,7 @@ class Repository(object): """{} is not a valid repository""" class CheckNeeded(Error): - '''Inconsistency detected. Please run "attic check {}"''' + """Inconsistency detected. Please run "attic check {}".""" class ObjectNotFound(Error): """Object with key {} not found in repository {}""" diff --git a/attic/testsuite/helpers.py b/attic/testsuite/helpers.py index bd915179f..472b8e2e4 100644 --- a/attic/testsuite/helpers.py +++ b/attic/testsuite/helpers.py @@ -139,7 +139,7 @@ class PruneSplitTestCase(AtticTestCase): def test(self): def local_to_UTC(month, day): - 'Convert noon on the month and day in 2013 to UTC.' + """Convert noon on the month and day in 2013 to UTC.""" seconds = mktime(strptime('2013-%02d-%02d 12:00' % (month, day), '%Y-%m-%d %H:%M')) return datetime.fromtimestamp(seconds, tz=timezone.utc)