python3 - 2to3 + miscell obvious tweaks
[sfa.git] / sfatables / commands / Delete.py
index 50b1d62..b1dff42 100644 (file)
@@ -1,5 +1,5 @@
 import os, time
-from sfatables.globals import *
+from sfatables.globals import sfatables_config
 from sfatables.command import Command
 
 class Delete(Command):
@@ -15,7 +15,7 @@ class Delete(Command):
     def call(self, command_options, match_options, target_options):
 
         if (len(command_options.args)<2):
-            print "Please specify the chain and the rule number to delete, e.g. sfatables -D INCOMING 1."
+            print("Please specify the chain and the rule number to delete, e.g. sfatables -D INCOMING 1.")
             return
 
         chain = command_options.args[0]