X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfatables%2Fcommands%2FDelete.py;h=b1dff42765a3f465b96b4fe0ed245640f99df3d9;hb=HEAD;hp=50b1d6261bd85e26b2708246aa7945d66f0726d4;hpb=de3960aef059183890c231a3682248c3f83635af;p=sfa.git diff --git a/sfatables/commands/Delete.py b/sfatables/commands/Delete.py index 50b1d626..b1dff427 100644 --- a/sfatables/commands/Delete.py +++ b/sfatables/commands/Delete.py @@ -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]