andrea_crotti committed 49724e4

disable the logging for the moment

  • Participants
  • Parent commits c58b152

Comments (0)

Files changed (1)

File tinkerer/

     :license: FreeBSD, see LICENSE file
 import argparse
-import logging
 import os
 import shutil
 import sphinx
 import sys
 from tinkerer import draft, page, paths, post, writer, utils
-logger = logging.getLogger(__name__)
-def setup_logging():
-    root_logger = logging.getLogger()
-    root_logger.setLevel(logging.DEBUG)
 def setup(quiet=False, filename_only=False):
     if filename_only:
     elif not quiet:
-"Your new blog is almost ready!")
-"You just need to edit a couple of lines in %s" % (os.path.relpath(paths.conf_file), ))
+        print("Your new blog is almost ready!")
+        print("You just need to edit a couple of lines in %s" % (os.path.relpath(paths.conf_file), ))
     Parses command line and executes required action.
     command = parse_arguments(argv)
-    setup_logging()
     # in setup mode it should fail if run from a blog root
     if command.setup and os.path.exists(paths.conf_file):