remove some spare empty lines
This commit is contained in:
parent
06dfe7dc94
commit
71758d2b7c
3
setup.py
3
setup.py
|
@ -4,17 +4,14 @@ import os
|
||||||
import codecs
|
import codecs
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
|
|
||||||
def read_file(filename, encoding='utf8'):
|
def read_file(filename, encoding='utf8'):
|
||||||
"""Read unicode from given file."""
|
"""Read unicode from given file."""
|
||||||
with codecs.open(filename, encoding=encoding) as fd:
|
with codecs.open(filename, encoding=encoding) as fd:
|
||||||
return fd.read()
|
return fd.read()
|
||||||
|
|
||||||
|
|
||||||
here = os.path.abspath(os.path.dirname(__file__))
|
here = os.path.abspath(os.path.dirname(__file__))
|
||||||
readme = read_file(os.path.join(here, 'README.rst'))
|
readme = read_file(os.path.join(here, 'README.rst'))
|
||||||
|
|
||||||
|
|
||||||
setup(name='transwhat',
|
setup(name='transwhat',
|
||||||
version='0.2.2',
|
version='0.2.2',
|
||||||
description='A gateway between the XMPP and the WhatsApp IM networks',
|
description='A gateway between the XMPP and the WhatsApp IM networks',
|
||||||
|
|
|
@ -25,7 +25,6 @@ import e4u
|
||||||
import base64
|
import base64
|
||||||
import hashlib
|
import hashlib
|
||||||
|
|
||||||
|
|
||||||
def ago(secs):
|
def ago(secs):
|
||||||
periods = ["second", "minute", "hour", "day", "week", "month", "year", "decade"]
|
periods = ["second", "minute", "hour", "day", "week", "month", "year", "decade"]
|
||||||
lengths = [60, 60, 24, 7,4.35, 12, 10]
|
lengths = [60, 60, 24, 7,4.35, 12, 10]
|
||||||
|
|
Loading…
Reference in a new issue