Browse Source

Removed stray instruction.

tags/v0.1^2
Ben Kurtovic 12 years ago
parent
commit
05b731c668
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      earwigbot/wiki/site.py

+ 0
- 1
earwigbot/wiki/site.py View File

@@ -723,7 +723,6 @@ class Site(object):
<get_page>`. <get_page>`.
""" """
catname = self._unicodeify(catname) catname = self._unicodeify(catname)
name = name if isinstance(name, unicode) else name.decode("utf8")
prefix = self.namespace_id_to_name(constants.NS_CATEGORY) prefix = self.namespace_id_to_name(constants.NS_CATEGORY)
pagename = u':'.join((prefix, catname)) pagename = u':'.join((prefix, catname))
return Category(self, pagename, follow_redirects, pageid) return Category(self, pagename, follow_redirects, pageid)


Loading…
Cancel
Save