From ce7d223d26b7f3660b6b3dfee4c8f4f08b1c8bc1 Mon Sep 17 00:00:00 2001 From: "matthew.beckler@gmail.com" Date: Mon, 24 Jan 2011 16:54:26 +0000 Subject: [PATCH] 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 --- inkscape_contributed/eggbot_machinetoolfixup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inkscape_contributed/eggbot_machinetoolfixup.py b/inkscape_contributed/eggbot_machinetoolfixup.py index 8b40f95..75b93b1 100644 --- a/inkscape_contributed/eggbot_machinetoolfixup.py +++ b/inkscape_contributed/eggbot_machinetoolfixup.py @@ -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' )