06-28-2012, 04:12 PM
I managed to get it to run,
it has problems with making a new makeoptemps class
you have to replace all gl.optemps.new_t()
with MakeopTemps.new_t()
dont forget to import Makeopttemps into every file that calls new_t
you also have to make new_t a static method
and remove the __new__ method as it is not needed is all methods are static (except new and init)
count has to be a static field just like _singleton
then it will complain about indentation, this is because you used tabs instead of spaces about 3 times in one file, just replace the tabs with spaces and it will work
it has problems with making a new makeoptemps class
you have to replace all gl.optemps.new_t()
with MakeopTemps.new_t()
dont forget to import Makeopttemps into every file that calls new_t
you also have to make new_t a static method
and remove the __new__ method as it is not needed is all methods are static (except new and init)
count has to be a static field just like _singleton
then it will complain about indentation, this is because you used tabs instead of spaces about 3 times in one file, just replace the tabs with spaces and it will work