Improve comformance to pep8 (+dos2unix)

PyGithub is now a public projects with several public contibutors,
I have to abandon my very personal coding conventions.
This commit is contained in:
Vincent Jacques
2012-09-17 20:37:22 +02:00
parent 7f61adcaf5
commit 531c3f2d32
107 changed files with 5245 additions and 5094 deletions
+6 -5
View File
@@ -11,11 +11,12 @@
# You should have received a copy of the GNU Lesser General Public License along with PyGithub. If not, see <http://www.gnu.org/licenses/>.
class GithubException( Exception ):
def __init__( self, status, data ):
Exception.__init__( self )
class GithubException(Exception):
def __init__(self, status, data):
Exception.__init__(self)
self.status = status
self.data = data
def __str__( self ):
return str( self.status ) + " " + str( self.data )
def __str__(self):
return str(self.status) + " " + str(self.data)