Removed unused code

At the bottom of the file, an exception is raised when __name__ ==
'__main__', stating that it's not allowed to run the file in that way.
It's silly to then still set up logging in that case.
This commit is contained in:
2017-04-05 12:30:35 +02:00
parent 9524c88b32
commit 420f146067

View File

@@ -37,10 +37,6 @@ del path
import logging
log = logging.getLogger("bam_cli")
# if we're a module, don't mess with logging level
if __name__ == "__main__":
logging.basicConfig(level=logging.DEBUG)
def fatal(msg):
if __name__ == "__main__":