incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [5/8] git commit: [#2840] ticket:273 Minor style fix
Date Mon, 11 Mar 2013 23:07:10 GMT
[#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/master
Commit: 3d1099063712364f488823124379e0d909d17107
Parents: 5d66090
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Mon Mar 4 14:28:18 2013 +0000
Committer: Cory Johns <johnsca@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))


Mime
View raw message