commented out print statements
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
print(f' Importing {__name__} '.center(50, '='))
|
||||
# print(f' Importing {__name__} '.center(50, '='))
|
||||
|
||||
from .foo import Foo
|
||||
from .my_sub_pkg.bar import Bar
|
||||
|
||||
print(' Done '.center(50, '='))
|
||||
# print(' Done '.center(50, '='))
|
||||
@@ -3,10 +3,10 @@ from pathlib import Path
|
||||
from appdaemon.adbase import ADBase
|
||||
|
||||
filename = Path(__file__).name
|
||||
print(f' Importing {filename} '.center(50, '-'))
|
||||
# print(f' Importing {filename} '.center(50, '-'))
|
||||
|
||||
class Foo(ADBase):
|
||||
changes: bool = False
|
||||
changes: bool = True
|
||||
|
||||
def initialize(self):
|
||||
self.adapi = self.get_ad_api()
|
||||
@@ -15,4 +15,4 @@ class Foo(ADBase):
|
||||
# self.adapi.log(f'New log line: {self.changes}')
|
||||
# self.adapi.log(f'Even newer log line: {self.changes}')
|
||||
|
||||
print(f'Foo.changes = {Foo.changes}'.center(50, '-'))
|
||||
# print(f' Foo.changes = {Foo.changes} '.center(50, '-'))
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
print(f' Importing {__name__} '.center(50, '+'))
|
||||
# print(f' Importing {__name__} '.center(50, '+'))
|
||||
|
||||
from .bar import Bar
|
||||
|
||||
print(f' Done {__name__} '.center(50, '+'))
|
||||
# print(f' Done {__name__} '.center(50, '+'))
|
||||
@@ -3,7 +3,7 @@ from pathlib import Path
|
||||
from appdaemon.adbase import ADBase
|
||||
|
||||
filename = Path(__file__).name
|
||||
print(f' Importing {filename} '.center(50, '-'))
|
||||
# print(f' Importing {filename} '.center(50, '-'))
|
||||
|
||||
class Bar(ADBase):
|
||||
def initialize(self):
|
||||
|
||||
@@ -3,10 +3,11 @@ from pathlib import Path
|
||||
from appdaemon.adbase import ADBase
|
||||
|
||||
filename = Path(__file__).name
|
||||
print(f' Importing {filename} '.center(50, '-'))
|
||||
# print(f' Importing {filename} '.center(50, '-'))
|
||||
|
||||
class Baz(ADBase):
|
||||
def initialize(self):
|
||||
self.adapi = self.get_ad_api()
|
||||
self.adapi.log(f'Initialized app from {filename}')
|
||||
# self.adapi.log(f'Initialized app from {filename}')
|
||||
# self.adapi.log(f'CHANGED')
|
||||
|
||||
Reference in New Issue
Block a user