From 0d27fb60cb85284c1979372baf17eb32f45c25e6 Mon Sep 17 00:00:00 2001 From: oz123 Date: Thu, 29 Aug 2013 13:36:47 +0200 Subject: [PATCH] add author information to __init__.py --- lib/ctt/__init__.py | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/lib/ctt/__init__.py b/lib/ctt/__init__.py index fbfac2f..b29e22d 100644 --- a/lib/ctt/__init__.py +++ b/lib/ctt/__init__.py @@ -1,37 +1,39 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# +# # 2012 Nico Schottelius (nico-ctt at schottelius.org) # # This file is part of ctt. -# +# # ctt is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. -# +# # ctt is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License # along with ctt. If not, see . # -# +# import os import os.path -VERSION = "0.9" -FILE_DELTA = "delta" -FILE_COMMENT = "comment" -DATEFORMAT = "%Y-%m-%d" -DATEFORMAT_PLAIN= DATEFORMAT.replace("%","") -DATETIMEFORMAT = "%Y-%m-%d-%H%M" -DATETIMEFORMAT_PLAIN= DATETIMEFORMAT.replace("%","") +VERSION = "0.9" +FILE_DELTA = "delta" +FILE_COMMENT = "comment" +DATEFORMAT = "%Y-%m-%d" +DATEFORMAT_PLAIN = DATEFORMAT.replace("%", "") +DATETIMEFORMAT = "%Y-%m-%d-%H%M" +DATETIMEFORMAT_PLAIN = DATETIMEFORMAT.replace("%", "") REPORTFORMAT = "{start_datetime} ({delta}): {comment}" - +AUTHOR = 'Nico Schottelius' +MAIL = 'nico-ctt at schottelius.org' +WWW = 'http://www.nico.schottelius.org/software/ctt/' # Name of the folder to create - should not contain special characters # to ensure cross-os compatibility DISKFORMAT = DATETIMEFORMAT