Cleanup and more logging

This commit is contained in:
Manuel Ebert 2015-04-05 02:28:04 +04:00
parent 367b13b849
commit 7dc2ccbd3a
3 changed files with 11 additions and 11 deletions

View file

@ -12,7 +12,7 @@ import re
from datetime import datetime
import logging
log = logging.getLogger("jrnl")
log = logging.getLogger(__name__)
class Journal(object):

View file

@ -18,7 +18,7 @@ import argparse
import sys
import logging
log = logging.getLogger("jrnl")
log = logging.getLogger(__name__)
def parse_args(args=None):

View file

@ -75,11 +75,11 @@ conditional_dependencies = {
setup(
name = "jrnl",
version = get_version(),
description = "A command line journal application that stores your journal in a plain text file",
packages = ['jrnl'],
install_requires = [
name="jrnl",
version=get_version(),
description="A command line journal application that stores your journal in a plain text file",
packages=['jrnl'],
install_requires=[
"pyxdg>=0.19",
"parsedatetime>=1.2",
"pytz>=2013b",
@ -112,9 +112,9 @@ setup(
'Topic :: Text Processing'
],
# metadata for upload to PyPI
author = "Manuel Ebert",
author_email = "manuel@1450.me",
author="Manuel Ebert",
author_email="manuel@1450.me",
license="LICENSE",
keywords = "journal todo todo.txt jrnl".split(),
url = "http://www.jrnl.sh",
keywords="journal todo todo.txt jrnl".split(),
url="http://www.jrnl.sh",
)