nst / objc_dep

Graph the import dependancies in an Objective-C project
1.35k stars 144 forks source link

fixes handling of empty `extension` matches #14

Closed gretzki closed 9 years ago

gretzki commented 9 years ago

If results.group('extension') returns None, the extension variable is None and thus, the following string concatination filename + extension will fail.

This bugfix sets extension variable to empty string instead if it's none.