From 71758d2b7cc97baf46b994993ce0937d4cc3c8af Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 25 Apr 2019 21:19:00 +0200 Subject: [PATCH] remove some spare empty lines --- setup.py | 3 --- transWhat/utils.py | 1 - 2 files changed, 4 deletions(-) diff --git a/setup.py b/setup.py index fe3b6bd..ee9e6ed 100755 --- a/setup.py +++ b/setup.py @@ -4,17 +4,14 @@ import os import codecs from setuptools import setup - def read_file(filename, encoding='utf8'): """Read unicode from given file.""" with codecs.open(filename, encoding=encoding) as fd: return fd.read() - here = os.path.abspath(os.path.dirname(__file__)) readme = read_file(os.path.join(here, 'README.rst')) - setup(name='transwhat', version='0.2.2', description='A gateway between the XMPP and the WhatsApp IM networks', diff --git a/transWhat/utils.py b/transWhat/utils.py index d21e7e0..30606fd 100644 --- a/transWhat/utils.py +++ b/transWhat/utils.py @@ -25,7 +25,6 @@ import e4u import base64 import hashlib - def ago(secs): periods = ["second", "minute", "hour", "day", "week", "month", "year", "decade"] lengths = [60, 60, 24, 7,4.35, 12, 10]