python sites/subnets: correctly spell variable name
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 9 Mar 2017 01:55:32 +0000 (14:55 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 10 Mar 2017 06:31:10 +0000 (07:31 +0100)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/sites.py

index f0c792d90eeb0216f431acef273fd05e3dc4a771..d0b7b9f4e6a8c5bf7b6ce87632b33f1deebaccf4 100644 (file)
@@ -209,7 +209,7 @@ class cmd_sites_subnet_set_site(Command):
                                (subnetname, site_of_subnet, e))
 
         print >> self.outf, ("Subnet %s shifted to site %s" %
-                             (subnet_name, site_of_subnet))
+                             (subnetname, site_of_subnet))
 
 
 class cmd_sites_subnet(SuperCommand):