diff options
Diffstat (limited to 'mail/offlineimap/files/patch-use-interpolation')
-rw-r--r-- | mail/offlineimap/files/patch-use-interpolation | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/mail/offlineimap/files/patch-use-interpolation b/mail/offlineimap/files/patch-use-interpolation deleted file mode 100644 index a6004f2..0000000 --- a/mail/offlineimap/files/patch-use-interpolation +++ /dev/null @@ -1,62 +0,0 @@ -From 8cf576b9edd7f7fe245d4590206ff740d3ed31e3 Mon Sep 17 00:00:00 2001 -From: Eygene Ryabinkin <rea@codelabs.ru> -Date: Wed, 6 Jun 2012 07:45:01 +0400 -Subject: [PATCH] Use '%' instead of String.format() - -Python 2.6 doesn't like empty {} specifications for -String.format(), but the ones that were changed don't -really need the full machinery of String.format() here. - -Signed-off-by: Eygene Ryabinkin <rea@codelabs.ru> ---- - offlineimap/folder/Base.py | 2 +- - offlineimap/ui/UIBase.py | 6 +++--- - 2 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/offlineimap/folder/Base.py b/offlineimap/folder/Base.py -index 6f6f364..4c3f1ca 100644 ---- a/offlineimap/folder/Base.py -+++ b/offlineimap/folder/Base.py -@@ -386,7 +386,7 @@ class BaseFolder(object): - self.getmessageuidlist()) - num_to_copy = len(copylist) - if num_to_copy and self.repository.account.dryrun: -- self.ui.info("[DRYRUN] Copy {} messages from {}[{}] to {}".format( -+ self.ui.info("[DRYRUN] Copy %d messages from %s[%s] to %s" % ( - num_to_copy, self, self.repository, dstfolder.repository)) - return - for num, uid in enumerate(copylist): -diff --git a/offlineimap/ui/UIBase.py b/offlineimap/ui/UIBase.py -index eea929d..6608d6d 100644 ---- a/offlineimap/ui/UIBase.py -+++ b/offlineimap/ui/UIBase.py -@@ -301,7 +301,7 @@ class UIBase(object): - def makefolder(self, repo, foldername): - """Called when a folder is created""" - prefix = "[DRYRUN] " if self.dryrun else "" -- self.info("{}Creating folder {}[{}]".format( -+ self.info("%sCreating folder %s[%s]" % ( - prefix, foldername, repo)) - - def syncingfolder(self, srcrepos, srcfolder, destrepos, destfolder): -@@ -346,7 +346,7 @@ class UIBase(object): - def deletingmessages(self, uidlist, destlist): - ds = self.folderlist(destlist) - prefix = "[DRYRUN] " if self.dryrun else "" -- self.info("{}Deleting {} messages ({}) in {}".format( -+ self.info("%sDeleting %s messages (%s) in %s" % ( - prefix, len(uidlist), - offlineimap.imaputil.uid_sequence(uidlist), ds)) - -@@ -474,7 +474,7 @@ class UIBase(object): - - def callhook(self, msg): - if self.dryrun: -- self.info("[DRYRUN] {}".format(msg)) -+ self.info("[DRYRUN] %s" % (msg)) - else: - self.info(msg) - --- -1.7.10.3 - |