You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by tv...@apache.org on 2013/03/12 21:04:51 UTC

[13/50] [abbrv] git commit: [#2840] ticket:273 Minor style fix

[#2840] ticket:273 Minor style fix


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

Branch: refs/heads/si/5453
Commit: 3d1099063712364f488823124379e0d909d17107
Parents: 5d66090
Author: Igor Bondarenko <je...@gmail.com>
Authored: Mon Mar 4 14:28:18 2013 +0000
Committer: Cory Johns <jo...@geek.net>
Committed: Mon Mar 11 22:29:45 2013 +0000

----------------------------------------------------------------------
 Allura/allura/tasks/repo_tasks.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/3d109906/Allura/allura/tasks/repo_tasks.py
----------------------------------------------------------------------
diff --git a/Allura/allura/tasks/repo_tasks.py b/Allura/allura/tasks/repo_tasks.py
index 72ceb2c..4eff18d 100644
--- a/Allura/allura/tasks/repo_tasks.py
+++ b/Allura/allura/tasks/repo_tasks.py
@@ -108,12 +108,12 @@ def tarball(revision=None):
     log = logging.getLogger(__name__)
     if revision:
         repo = c.app.repo
-        c.app.repo.set_tarball_status(revision, 'busy')
+        repo.set_tarball_status(revision, 'busy')
         try:
             repo.tarball(revision)
-            c.app.repo.set_tarball_status(revision, 'ready')
+            repo.set_tarball_status(revision, 'ready')
         except:
-            c.app.repo.set_tarball_status(revision, None)
+            repo.set_tarball_status(revision, None)
             log.error('Could not create tarball for repository %s:%s revision %s' % (c.project.shortname, c.app.config.options.mount_point, revision), exc_info=True)
     else:
-        log.warn('Creation of tarball for %s:%s skipped because revision is not specified' % (c.project.shortname, c.app.config.options.mount_point))
\ No newline at end of file
+        log.warn('Creation of tarball for %s:%s skipped because revision is not specified' % (c.project.shortname, c.app.config.options.mount_point))