File tree 1 file changed +2
-8
lines changed
1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -171,8 +171,6 @@ def split_argument_list(l):
171
171
class ToolchainCL (object ):
172
172
173
173
def __init__ (self ):
174
- self ._ctx = None
175
-
176
174
parser = argparse .ArgumentParser (
177
175
description = "Tool for managing the Android / Python toolchain" ,
178
176
usage = """toolchain <command> [<args>]
@@ -296,6 +294,8 @@ def __init__(self):
296
294
297
295
if args .debug :
298
296
logger .setLevel (logging .DEBUG )
297
+
298
+ self .ctx = Context ()
299
299
self .storage_dir = args .storage_dir
300
300
self .ctx .setup_dirs (self .storage_dir )
301
301
self .sdk_dir = args .sdk_dir
@@ -349,12 +349,6 @@ def _read_configuration(self):
349
349
for arg in line :
350
350
sys .argv .append (arg )
351
351
352
- @property
353
- def ctx (self ):
354
- if self ._ctx is None :
355
- self ._ctx = Context ()
356
- return self ._ctx
357
-
358
352
def recipes (self , args ):
359
353
parser = argparse .ArgumentParser (
360
354
description = "List all the available recipes" )
You can’t perform that action at this time.
0 commit comments