From 4f6b6f36f9b77a82138d867767dbd1b8393622ef Mon Sep 17 00:00:00 2001 From: Alexandre Magno Date: Sat, 27 Jun 2015 17:20:37 -0300 Subject: [PATCH] Comments on class RepositoryClient --- paicemana/githubclient.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/paicemana/githubclient.py b/paicemana/githubclient.py index cf76f4d..001173b 100644 --- a/paicemana/githubclient.py +++ b/paicemana/githubclient.py @@ -2,12 +2,19 @@ class RepositoryClient(object): + """Class to read and write on GitHub repository""" def __init__(self, repo_user = 'OSMBrasil', repo_name = 'semanario'): + """ + @params + repo_user - name of organization or user + repo_name - repository name + """ github = GitHub() self.repo = github.repository(repo_user, repo_name) def milestones_info(self): + """Prints information for identification of milestones""" s = '' for milestone in self.repo.milestones(): s += 'The milestone "%s" has number=%s\n'\