formatting tweaks
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
Foo:
|
Foo:
|
||||||
module: foo
|
module: my_pkg
|
||||||
class: Foo
|
class: Foo
|
||||||
|
|
||||||
Bar:
|
Bar:
|
||||||
module: my_pkg
|
module: my_pkg.my_sub_pkg
|
||||||
class: Bar
|
class: Bar
|
||||||
|
|
||||||
Baz:
|
Baz:
|
||||||
|
|||||||
@@ -15,4 +15,4 @@ class Foo(ADBase):
|
|||||||
# self.adapi.log(f'New log line: {self.changes}')
|
# self.adapi.log(f'New log line: {self.changes}')
|
||||||
# self.adapi.log(f'Even newer log line: {self.changes}')
|
# self.adapi.log(f'Even newer log line: {self.changes}')
|
||||||
|
|
||||||
print(f'Done, motion.changes = {Foo.changes}'.center(50, '-'))
|
print(f'Foo.changes = {Foo.changes}'.center(50, '-'))
|
||||||
|
|||||||
@@ -2,4 +2,4 @@ print(f' Importing {__name__} '.center(50, '+'))
|
|||||||
|
|
||||||
from .bar import Bar
|
from .bar import Bar
|
||||||
|
|
||||||
print(f' Done {__name__} '.center(50, '='))
|
print(f' Done {__name__} '.center(50, '+'))
|
||||||
@@ -8,5 +8,5 @@ print(f' Importing {filename} '.center(50, '-'))
|
|||||||
class Bar(ADBase):
|
class Bar(ADBase):
|
||||||
def initialize(self):
|
def initialize(self):
|
||||||
self.adapi = self.get_ad_api()
|
self.adapi = self.get_ad_api()
|
||||||
self.adapi.log(f'Initialized app from {__file__}')
|
self.adapi.log(f'Initialized app from {filename}')
|
||||||
# self.adapi.log(f'CHANGED')
|
# self.adapi.log(f'CHANGED')
|
||||||
|
|||||||
@@ -8,5 +8,5 @@ print(f' Importing {filename} '.center(50, '-'))
|
|||||||
class Baz(ADBase):
|
class Baz(ADBase):
|
||||||
def initialize(self):
|
def initialize(self):
|
||||||
self.adapi = self.get_ad_api()
|
self.adapi = self.get_ad_api()
|
||||||
self.adapi.log(f'Initialized app from {__file__}')
|
self.adapi.log(f'Initialized app from {filename}')
|
||||||
# self.adapi.log(f'CHANGED')
|
# self.adapi.log(f'CHANGED')
|
||||||
|
|||||||
Reference in New Issue
Block a user