mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Remove silly 000 and 001
This commit is contained in:
@@ -367,7 +367,7 @@ class Description:
|
||||
with open( os.path.join( os.path.dirname( __file__ ), fileName ), "wb" ) as f:
|
||||
json.dump( self, f, indent = 4, cls = Encoder )
|
||||
|
||||
with open( os.path.join( os.path.dirname( __file__ ), "description.000.human_readable.json" ) ) as f:
|
||||
with open( os.path.join( os.path.dirname( __file__ ), "description.human_readable.json" ) ) as f:
|
||||
description = Description( json.load( f ) )
|
||||
|
||||
description.save( "description.001.normalized.json" )
|
||||
description.save( "description.normalized.json" )
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ django.conf.settings.configure(
|
||||
TEMPLATE_STRING_IF_INVALID = "We have a logic error in our template or API description",
|
||||
)
|
||||
|
||||
description = json.load( open( os.path.join( os.path.dirname( __file__ ), "JsonDescriptionOfGithubApiV3", "description.001.normalized.json" ) ) )
|
||||
description = json.load( open( os.path.join( os.path.dirname( __file__ ), "JsonDescriptionOfGithubApiV3", "description.normalized.json" ) ) )
|
||||
|
||||
for class_ in description[ "classes" ]:
|
||||
dependencies = set()
|
||||
|
||||
Reference in New Issue
Block a user