> could send / post either your altered file, or (better yet) a diff?
>

$ ./diff.exe D:\\__init__pymel09.py D:\\__init__.py
256,257c256,257
<     if util.isIterable( input ):
<         for filepath in input:
---
>     if util.isIterable( arg ):
>         for filepath in arg:
261c261
<         results = resolvePath(input)
---
>         results = resolvePath(arg)

_getInputFiles function takes arg as an argument, but inside function
all
file operations takes unintialized "input" variable as an argument. If
"input" variable is unintialized then on Windows it refer to
Win32Input function, so if you type "input" in python it doesn't raise
NameError exception but it points you to <function Win32Input>.

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to