Remove unused (commented out) code (see #103)

This commit is contained in:
coderkun 2024-11-23 16:35:19 +01:00
parent 2b1edc715f
commit ccf68deff7
4 changed files with 0 additions and 20 deletions

View file

@ -17,16 +17,3 @@ if os.path.exists(localedirdev):
# Set GSettings schema dir (if not set already)
if not os.environ.get('GSETTINGS_SCHEMA_DIR'):
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

View file

@ -843,11 +843,6 @@ class Client(Base):
if entry and key in delimiters:
yield 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
if entry:
yield entry

View file

@ -113,4 +113,3 @@ class ServerPanel(Adw.Bin):
if id not in device_ids:
self.output_devices.remove(
self._output_buttons[id].get_parent())

View file

@ -29,7 +29,6 @@ class ZeroconfProvider(client.Base):
def on_new_service(self, browser, interface, protocol, name, type, domain,
flags):
#if not (flags & Avahi.LookupResultFlags.GA_LOOKUP_RESULT_LOCAL):
service_resolver = Avahi.ServiceResolver(
interface=interface,
protocol=protocol,