mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-11 09:59:19 -04:00
convert docstrings to triple-double-quoted
This commit is contained in:
parent
a8ce0b8b8a
commit
8ffd4c4926
2 changed files with 2 additions and 2 deletions
|
|
@ -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 {}"""
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue