(self)
| 153 | return cls._instance |
| 154 | |
| 155 | def __init__(self): |
| 156 | |
| 157 | serviceNetworkDefaultSettings = { |
| 158 | "mode" : self.PROXY_MODE_AUTODETECT, |
| 159 | "type" : "https", |
| 160 | "address" : "", |
| 161 | "port" : "", |
| 162 | "access" : 15, |
| 163 | "login" : None, |
| 164 | "password": None |
| 165 | } |
| 166 | |
| 167 | self.serviceNetworkSettings = SettingsProvider.getInstance().getSettings( |
| 168 | "pyfaServiceNetworkSettings", serviceNetworkDefaultSettings) |
| 169 | |
| 170 | def isEnabled(self, type): |
| 171 | if type & self.serviceNetworkSettings["access"]: |
nothing calls this directly
no test coverage detected