public
Description: Python interface for talking to the github API
Clone URL: git://github.com/dustin/py-github.git
Make the branch on commits default to master.
dustin (author)
Sat May 24 12:48:42 -0700 2008
commit  0942fc3164237e73dcdceddb66eef452849e2b7a
tree    5755cab88dfe020fd6709ab71fdc3d08b343cf69
parent  648b4f2647ca9af55cfb87f18e43b40c317119d4
...
175
176
177
178
 
179
180
181
...
175
176
177
 
178
179
180
181
0
@@ -175,7 +175,7 @@ class GitHub(object):
0
         doc=xml.dom.minidom.parseString(x)
0
         return SearchResults(doc)
0
 
0
- def commits(self, username, repo, branch):
0
+ def commits(self, username, repo, branch='master'):
0
         """Get the recent commits for the given repo."""
0
         x=self.fetcher("http://github.com/api/v1/xml/%s/%s/commits/%s"
0
             % (username, repo, branch)).read()

Comments

    No one has commented yet.