incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject [4/4] git commit: Note that SourceForge redirects to login page on unknown CSV pages
Date Wed, 05 Dec 2012 17:39:37 GMT
Note that SourceForge redirects to login page on unknown CSV pages

Fixes ticket:5357


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

Branch: refs/heads/master
Commit: b8f3d98983ff00e6cfa8c7e424ef24d6e04df730
Parents: 50cc989
Author: Jon Schewe <jpschewe@mtu.net>
Authored: Tue Nov 27 22:06:28 2012 -0600
Committer: Jon Schewe <jpschewe@mtu.net>
Committed: Tue Nov 27 22:13:13 2012 -0600

----------------------------------------------------------------------
 scripts/trac_export.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/b8f3d989/scripts/trac_export.py
----------------------------------------------------------------------
diff --git a/scripts/trac_export.py b/scripts/trac_export.py
index 0a0f83c..ae3e55f 100644
--- a/scripts/trac_export.py
+++ b/scripts/trac_export.py
@@ -199,7 +199,7 @@ class TracExport(object):
         except urllib2.HTTPError, e:
             if 'emulated' in e.msg:
                 body = e.fp.read()
-                if 'beyond the number of pages in the query' in body:
+                if 'beyond the number of pages in the query' in body or 'Log in with a SourceForge
account' in body:
                     raise StopIteration
             raise
         reader = csv.reader(f)


Mime
View raw message