incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [30/44] git commit: [#6534] ticket:442 Return unicode string from rewrite_links
Date Fri, 04 Oct 2013 14:43:18 GMT
[#6534] ticket:442 Return unicode string from rewrite_links


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

Branch: refs/heads/master
Commit: 3c9c7dbec903e239601e394306f0e750a34c7aa6
Parents: 0d66ce8
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Thu Sep 26 16:58:53 2013 +0300
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Fri Oct 4 14:21:23 2013 +0000

----------------------------------------------------------------------
 ForgeImporters/forgeimporters/github/tests/test_wiki.py | 4 ++--
 ForgeImporters/forgeimporters/github/wiki.py            | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/3c9c7dbe/ForgeImporters/forgeimporters/github/tests/test_wiki.py
----------------------------------------------------------------------
diff --git a/ForgeImporters/forgeimporters/github/tests/test_wiki.py b/ForgeImporters/forgeimporters/github/tests/test_wiki.py
index 46e58e4..b53dab5 100644
--- a/ForgeImporters/forgeimporters/github/tests/test_wiki.py
+++ b/ForgeImporters/forgeimporters/github/tests/test_wiki.py
@@ -309,14 +309,14 @@ Our website is [[http://sf.net]].
         importer.app.url = '/p/test/wiki/'
         f = importer.convert_markup
         source = u'''
-''-- Al'fredas 235 BC''
+''Al'fredas 235 BC''
 == See also ==
 * [https://github/a/b/wiki/AgentSpring-running-instructions-for-d13n-model Test1]
 * [https://github/a/b/wiki/AgentSpring-conventions Test2]
 * [https://github/a/b/wiki/AgentSpring-Q&A Test3]
 * [https://github/a/b/wiki/Extensions Test4]'''
 
-        result = u'''_-- Al'fredas 235 BC_
+        result = u'''_Al'fredas 235 BC_
 
 ## See also
 

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/3c9c7dbe/ForgeImporters/forgeimporters/github/wiki.py
----------------------------------------------------------------------
diff --git a/ForgeImporters/forgeimporters/github/wiki.py b/ForgeImporters/forgeimporters/github/wiki.py
index fa08d0c..0a4b2ee 100644
--- a/ForgeImporters/forgeimporters/github/wiki.py
+++ b/ForgeImporters/forgeimporters/github/wiki.py
@@ -333,4 +333,4 @@ class GitHubWikiImporter(ToolImporter):
                     a.setString(new_page)
                 elif a.text == prefix + page:
                     a.setString(new_prefix + new_page)
-        return str(soup)
+        return unicode(soup)


Mime
View raw message