public
Description: Python interface for talking to the github API
Clone URL: git://github.com/dustin/py-github.git
Rename the search argument to search_string for less confusion.
dustin (author)
Sat May 24 12:25:05 -0700 2008
commit  648b4f2647ca9af55cfb87f18e43b40c317119d4
tree    a2235d355b8799d2b947729cc02668db8fc1d1b6
parent  8515a6ed60931607c8528be3a48f66557a4af598
...
168
169
170
171
 
172
173
174
 
175
176
177
...
168
169
170
 
171
172
173
 
174
175
176
177
0
@@ -168,10 +168,10 @@ class GitHub(object):
0
         doc=xml.dom.minidom.parseString(x)
0
         return User(doc)
0
 
0
- def search(self, keywords):
0
+ def search(self, search_string):
0
         """Search for repositories."""
0
         x=self.fetcher("http://github.com/api/v1/xml/search/%s"
0
- % keywords.replace(' ', '+')).read()
0
+ % search_string.replace(' ', '+')).read()
0
         doc=xml.dom.minidom.parseString(x)
0
         return SearchResults(doc)
0
 

Comments

    No one has commented yet.