diff paint/package.py @ 17:e74fc40e1f64

interpolate string
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 24 Feb 2012 16:05:07 -0800
parents e6cdc58fc4f5
children 4c4d1e194bf7
line wrap: on
line diff
--- a/paint/package.py	Fri Feb 24 16:04:22 2012 -0800
+++ b/paint/package.py	Fri Feb 24 16:05:07 2012 -0800
@@ -87,7 +87,7 @@
         directory = self.path()
         setup_py = os.path.join(directory, 'setup.py')
         if not os.path.exists(setup_py):
-            raise AssertionError("%s does not exist")
+            raise AssertionError("%s does not exist" % setup_py)
 
         # setup the egg info
         call([sys.executable, 'setup.py', 'egg_info'], cwd=directory, stdout=PIPE)