Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
2,598 additions
and
2,545 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
#!/usr/bin/python3 | ||
#!/usr/bin/env python | ||
""" | ||
Script to run GTimeLog from the source checkout without installing | ||
""" | ||
import os | ||
import sys | ||
|
||
from gtimelog.main import main | ||
|
||
basedir = os.path.dirname(os.path.realpath(__file__)) | ||
pkgdir = os.path.join(basedir, 'src') | ||
sys.path.insert(0, pkgdir) | ||
|
||
from gtimelog.main import main # noqa: E402 | ||
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
# The gtimelog package. | ||
import logging | ||
import sys | ||
|
||
__version__ = '0.12.0.dev0' | ||
DEBUG = '--debug' in sys.argv | ||
root_logger = logging.getLogger() | ||
root_logger.addHandler(logging.StreamHandler()) | ||
if DEBUG: | ||
root_logger.setLevel(logging.DEBUG) | ||
else: | ||
root_logger.setLevel(logging.INFO) |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
class EmailError(Exception): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.