mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 11:21:16 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user