@@ -227,10 +227,8 @@ def printEnvInfoNoDataAPI(ManageProjectName, printData = True, printEnvType = Fa
227227
228228 return output
229229
230- def printEnvironmentInfo (ManageProjectName , printData = True , printEnvType = False , legacy = False ):
230+ def printEnvironmentInfo (ManageProjectName , printData = True , printEnvType = False ):
231231 try :
232- if (legacy ): raise KeyError
233-
234232 from vector .apps .DataAPI .vcproject_api import VCProjectApi
235233 with VCProjectApi (ManageProjectName ) as vcproj :
236234 ret_info = printEnvInfoDataAPI (vcproj , printData , printEnvType )
@@ -246,8 +244,7 @@ def printEnvironmentInfo(ManageProjectName, printData = True, printEnvType = Fal
246244 parser = argparse .ArgumentParser ()
247245 parser .add_argument ('ManageProject' , help = 'Manager Project Name' )
248246 parser .add_argument ('-t' , '--type' , help = 'Displays the type of environemnt (Unit test or System test)' , action = "store_true" , default = False )
249- parser .add_argument ('-l' , '--legacy' , help = 'Use the legacy report parsing method - testing only)' , action = "store_true" , default = False )
250247
251248 args = parser .parse_args ()
252249
253- printEnvironmentInfo (args .ManageProject , True , args .type , args . legacy )
250+ printEnvironmentInfo (args .ManageProject , True , args .type )
0 commit comments