Skip to content

Commit

Permalink
Flake8 lib/
Browse files Browse the repository at this point in the history
  • Loading branch information
sbesson committed Dec 11, 2014
1 parent 0f430fc commit 6a61f1b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/composite.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,15 @@
# 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 this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.


import time
import sys
import re
import os

from getopt import getopt, GetoptError
from glob import glob
from zipfile import ZipFile

Expand All @@ -47,6 +45,7 @@

IGNORE = []


def find(pattern):
"""Grabs platform specific distribution targets from target"""
target = os.path.join(os.path.dirname(os.path.dirname(__file__)), "target")
Expand All @@ -55,6 +54,7 @@ def find(pattern):
raise Exception("Nothing found! %s" % pattern)
return artifacts


def extract(artifact, target, ignore):
"""
Extracts all files of a given artifact to a target directory filtering and
Expand Down Expand Up @@ -100,6 +100,7 @@ def extract(artifact, target, ignore):
finally:
zip_file.close()


def compress(target, base):
"""Creates a ZIP recursively from a given base directory."""
zip_file = ZipFile(target, 'w')
Expand Down Expand Up @@ -155,4 +156,3 @@ def compress(target, base):
compress('%s.zip' % target, target)

# Insight no longer uses omero_client.jar

0 comments on commit 6a61f1b

Please sign in to comment.