[Python-checkins] cpython: Reindent long line

jason.coombs python-checkins at python.org
Sat May 10 19:25:53 CEST 2014


http://hg.python.org/cpython/rev/ce070040e1a6
changeset:   90616:ce070040e1a6
user:        Jason R. Coombs <jaraco at jaraco.com>
date:        Sat May 10 13:24:58 2014 -0400
summary:
  Reindent long line

files:
  Lib/distutils/command/upload.py |  3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/Lib/distutils/command/upload.py b/Lib/distutils/command/upload.py
--- a/Lib/distutils/command/upload.py
+++ b/Lib/distutils/command/upload.py
@@ -57,7 +57,8 @@
 
     def run(self):
         if not self.distribution.dist_files:
-            raise DistutilsOptionError("No dist file created in earlier command")
+            msg = "No dist file created in earlier command"
+            raise DistutilsOptionError(msg)
         for command, pyversion, filename in self.distribution.dist_files:
             self.upload_file(command, pyversion, filename)
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list