fixed a future-proof warning, converting 'if not node:' to 'if node is None:' to match the style of the other function. Should not affect functionality of the extension, but simply make the warning message go away.

git-svn-id: https://eggbotcode.googlecode.com/svn/trunk@198 72233254-1b6c-9e9c-5072-401df62706fb
pull/47/head
matthew.beckler@gmail.com 2011-01-24 16:54:26 +00:00
rodzic 635f15ad68
commit ce7d223d26
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -56,7 +56,7 @@ class EggbotMachineToolFixup( inkex.Effect ):
- Remove font name info so that we don't process this again
'''
if not node:
if node is None:
return
style_str = node.get( 'style' )