You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2012/10/03 18:31:08 UTC

[3/4] git commit: [#4785] Fixed missed variable rename

[#4785] Fixed missed variable rename

Signed-off-by: Cory Johns <jo...@geek.net>


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/e8469834
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/e8469834
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/e8469834

Branch: refs/heads/db/4968
Commit: e8469834c1ff8e917078d75993831cd27a3bfd67
Parents: d385e56
Author: Cory Johns <jo...@geek.net>
Authored: Tue Oct 2 20:00:22 2012 +0000
Committer: Cory Johns <jo...@geek.net>
Committed: Tue Oct 2 20:00:22 2012 +0000

----------------------------------------------------------------------
 .../forgeshorturl/command/migrate_urls.py          |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/e8469834/ForgeShortUrl/forgeshorturl/command/migrate_urls.py
----------------------------------------------------------------------
diff --git a/ForgeShortUrl/forgeshorturl/command/migrate_urls.py b/ForgeShortUrl/forgeshorturl/command/migrate_urls.py
index f4a3132..5d339e5 100644
--- a/ForgeShortUrl/forgeshorturl/command/migrate_urls.py
+++ b/ForgeShortUrl/forgeshorturl/command/migrate_urls.py
@@ -101,6 +101,6 @@ class MigrateUrls(ShortUrlCommand):
             ]}).first()
         if not c.project:
             raise exceptions.NoSuchProjectError('The project %s '
-                    'could not be found in the database' % p_id)
+                    'could not be found in the database' % self.args[2])
         c.app = c.project.app_instance(self.options.mount_point)
         assert c.app, 'Project does not have ShortURL app installed'