If results.group('extension') returns None, the extension variable is None and thus, the following string concatination filename + extension will fail.
Happened in my case when I used the script as follows:
python objc_dep.py ../../objective-c/ios-project-xy/ -i Pods -x "Spec" > projectXY.dot
A bugfix proposal is #14
If
results.group('extension')returnsNone, the extension variable isNoneand thus, the following string concatinationfilename + extensionwill fail.Happened in my case when I used the script as follows:
python objc_dep.py ../../objective-c/ios-project-xy/ -i Pods -x "Spec" > projectXY.dotA bugfix proposal is #14