fix expected an indented block

This commit is contained in:
dslackw 2014-07-17 09:39:00 +03:00
parent 521d5fa2ce
commit 1053510656
7 changed files with 11 additions and 5 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/dist

View file

@ -1,3 +1,8 @@
17-07-2014
Version 1.5.7
[Updated] - Fix IndentationError: expected an indented block
17-07-2014 17-07-2014
Version 1.5.6 Version 1.5.6

View file

@ -1,6 +1,6 @@
Metadata-Version: 1.1 Metadata-Version: 1.1
Name: slpkg Name: slpkg
Version: 1.5.6 Version: 1.5.7
Author: dslackw Author: dslackw
Author-email: d zlatanidis at gmail com Author-email: d zlatanidis at gmail com
Maintainer: dslackw Maintainer: dslackw

0
slackbuild/doinst.sh Executable file → Normal file
View file

View file

@ -1,6 +1,6 @@
Metadata-Version: 1.1 Metadata-Version: 1.1
Name: slpkg Name: slpkg
Version: 1.5.6 Version: 1.5.7
Author: dslackw Author: dslackw
Author-email: d zlatanidis at gmail com Author-email: d zlatanidis at gmail com
Maintainer: dslackw Maintainer: dslackw

0
slpkg/__init__.py Executable file → Normal file
View file

View file

@ -49,7 +49,7 @@ import subprocess
__author__ = "dslackw" __author__ = "dslackw"
__version_info__ = (1, 5, 6) __version_info__ = (1, 5, 7)
__version__ = "{0}.{1}.{2}".format(*__version_info__) __version__ = "{0}.{1}.{2}".format(*__version_info__)
__license__ = "GNU General Public License v3 (GPLv3)" __license__ = "GNU General Public License v3 (GPLv3)"
__email__ = "d.zlatanidis@gmail.com" __email__ = "d.zlatanidis@gmail.com"
@ -161,8 +161,8 @@ def url_read(name):
f = urllib2.urlopen(name) f = urllib2.urlopen(name)
return f.read() return f.read()
except urllib2.URLError: except urllib2.URLError:
print ("\nslpkg: error: connection refused") print ("\nslpkg: error: connection refused")
sys.exit() sys.exit()
def read_readme(SBo_url, name, site): def read_readme(SBo_url, name, site):
''' '''