allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [06/17] allura git commit: [#7999] ticket:855 Allow to specify subprojects as p/proj/sub
Date Wed, 25 Nov 2015 19:38:00 GMT
[#7999] ticket:855 Allow to specify subprojects as p/proj/sub


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

Branch: refs/heads/master
Commit: 045e8c49c2c49721fd05c835f0a9c3e34eef9cd7
Parents: 7fc38c4
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Mon Nov 2 16:15:23 2015 +0200
Committer: Dave Brondsema <dave@brondsema.net>
Committed: Wed Nov 25 14:37:42 2015 -0500

----------------------------------------------------------------------
 Allura/allura/scripts/delete_projects.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/045e8c49/Allura/allura/scripts/delete_projects.py
----------------------------------------------------------------------
diff --git a/Allura/allura/scripts/delete_projects.py b/Allura/allura/scripts/delete_projects.py
index bef2d80..23b144a 100644
--- a/Allura/allura/scripts/delete_projects.py
+++ b/Allura/allura/scripts/delete_projects.py
@@ -41,7 +41,7 @@ class DeleteProjects(ScriptTask):
 
     @classmethod
     def get_project(cls, proj):
-        n, p = proj.split('/')
+        n, p = proj.split('/', 1)
         n = M.Neighborhood.query.get(url_prefix='/{}/'.format(n))
         if not n:
             log.warn("Can't find neighborhood for %s", proj)


Mime
View raw message