~ubuntu-branches/ubuntu/vivid/system-config-printer/vivid-proposed

« back to all changes in this revision

Viewing changes to firewallsettings.py

  • Committer: Package Import Robot
  • Author(s): Till Kamppeter
  • Date: 2014-07-06 09:41:43 UTC
  • mto: (256.1.1 utopic-proposed)
  • mto: This revision was merged to the branch mainline in revision 256.
  • Revision ID: package-import@ubuntu.com-20140706094143-n4gi5juot9ogomct
Tags: upstream-1.4.5+20140706
ImportĀ upstreamĀ versionĀ 1.4.5+20140706

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
 
64
64
    def _get_active_zone (self):
65
65
        zones = self._fw.getActiveZones().keys()
66
 
        # remove immutable zones
67
 
        zones = [z for z in zones if not self._fw.isImmutable(z)]
68
 
 
69
66
        if not zones:
70
67
            debugprint ("FirewallD: no changeable zone")
71
68
            return None