Browse Source

Reindented files to consistenlty use 4 spaces and removed trailing whitespaces

master
klonfish 8 years ago
parent
commit
60c899edcc
  1. 3
      apparatinterface.py
  2. 5
      configreader.py
  3. 8
      statemachinetest.py

3
apparatinterface.py

@ -148,6 +148,3 @@ if __name__ == '__main__': @@ -148,6 +148,3 @@ if __name__ == '__main__':
while True:
time.sleep(1)

5
configreader.py

@ -127,8 +127,3 @@ class ConfigurationReader(object): @@ -127,8 +127,3 @@ class ConfigurationReader(object):
def phoneconfig(self):
return self.__phoneconfig

8
statemachinetest.py

@ -128,7 +128,6 @@ class DialingState(AbstractState): @@ -128,7 +128,6 @@ class DialingState(AbstractState):
return ConnectingState
class TelefonapparatUserInterface(object):
def __init__(self):
pass
@ -174,7 +173,6 @@ class StateMachineController(object): @@ -174,7 +173,6 @@ class StateMachineController(object):
print('%s -> %s' % (oldstate.__name__, newstate.__name__))
self.__state = newstate(self)
def queue_event(self, evname, *evargs, **evkwargs):
if not hasattr(AbstractState, 'on_%s' % (evname)):
raise ValueError('Illegal event name: %s' % (evname))
@ -186,10 +184,6 @@ class StateMachineController(object): @@ -186,10 +184,6 @@ class StateMachineController(object):
self.__evqueue.put((None, None, None))
if __name__ == '__main__':
c = StateMachineController()
@ -210,5 +204,3 @@ if __name__ == '__main__': @@ -210,5 +204,3 @@ if __name__ == '__main__':
c.stop()

Loading…
Cancel
Save