Răsfoiți Sursa

fix command-line parameters

David Rose 16 ani în urmă
părinte
comite
e777b5db5d
1 a modificat fișierele cu 0 adăugiri și 4 ștergeri
  1. 0 4
      direct/src/showbase/MakeAppMF.py

+ 0 - 4
direct/src/showbase/MakeAppMF.py

@@ -285,11 +285,7 @@ def makePackedApp(args):
         raise ArgumentError, "No destination app specified.  Use:\npython MakeAppMF.py app.mf"
 
     multifile_name = args[0]
-    root = '.'
     if len(args) > 1:
-        root = args[1]
-
-    if len(args) > 2:
         raise ArgumentError, "Too many arguments."
 
     p = AppPacker(multifile_name)