Remove unused (commented out) code (see #103)
This commit is contained in:
parent
2b1edc715f
commit
ccf68deff7
4 changed files with 0 additions and 20 deletions
|
@ -17,16 +17,3 @@ if os.path.exists(localedirdev):
|
||||||
# Set GSettings schema dir (if not set already)
|
# Set GSettings schema dir (if not set already)
|
||||||
if not os.environ.get('GSETTINGS_SCHEMA_DIR'):
|
if not os.environ.get('GSETTINGS_SCHEMA_DIR'):
|
||||||
os.environ['GSETTINGS_SCHEMA_DIR'] = datadirdev
|
os.environ['GSETTINGS_SCHEMA_DIR'] = datadirdev
|
||||||
|
|
||||||
|
|
||||||
class Environment:
|
|
||||||
"""Wrapper class to access environment settings."""
|
|
||||||
|
|
||||||
def get_srcdir():
|
|
||||||
return srcdir
|
|
||||||
|
|
||||||
def get_data(subdir):
|
|
||||||
return os.path.join(datadir, subdir)
|
|
||||||
|
|
||||||
def get_locale():
|
|
||||||
return localedir
|
|
||||||
|
|
|
@ -843,11 +843,6 @@ class Client(Base):
|
||||||
if entry and key in delimiters:
|
if entry and key in delimiters:
|
||||||
yield entry
|
yield entry
|
||||||
entry = {}
|
entry = {}
|
||||||
#if key in entry.keys():
|
|
||||||
# if entry[key] is not list:
|
|
||||||
# entry[key] = [entry[key]]
|
|
||||||
# entry[key].append(value)
|
|
||||||
#else:
|
|
||||||
entry[key] = value
|
entry[key] = value
|
||||||
if entry:
|
if entry:
|
||||||
yield entry
|
yield entry
|
||||||
|
|
|
@ -113,4 +113,3 @@ class ServerPanel(Adw.Bin):
|
||||||
if id not in device_ids:
|
if id not in device_ids:
|
||||||
self.output_devices.remove(
|
self.output_devices.remove(
|
||||||
self._output_buttons[id].get_parent())
|
self._output_buttons[id].get_parent())
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,6 @@ class ZeroconfProvider(client.Base):
|
||||||
|
|
||||||
def on_new_service(self, browser, interface, protocol, name, type, domain,
|
def on_new_service(self, browser, interface, protocol, name, type, domain,
|
||||||
flags):
|
flags):
|
||||||
#if not (flags & Avahi.LookupResultFlags.GA_LOOKUP_RESULT_LOCAL):
|
|
||||||
service_resolver = Avahi.ServiceResolver(
|
service_resolver = Avahi.ServiceResolver(
|
||||||
interface=interface,
|
interface=interface,
|
||||||
protocol=protocol,
|
protocol=protocol,
|
||||||
|
|
Loading…
Add table
Reference in a new issue