Skip to content

Commit

Permalink
Merge 0377082 into 9548e10
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasAlbert committed Oct 16, 2019
2 parents 9548e10 + 0377082 commit 6b91699
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hepdata_lib/__init__.py
Expand Up @@ -8,9 +8,9 @@
import os
import shutil
import subprocess
import tarfile
import warnings
from collections import defaultdict

import yaml

# try to use LibYAML bindings if possible
Expand Down Expand Up @@ -520,7 +520,6 @@ def create_files(self, outdir="."):
self.copy_files(outdir)

# Put everything into a tarfile
import tarfile
tar = tarfile.open("submission.tar.gz", "w:gz")
for yaml_file in helpers.find_all_matching(outdir, "*.yaml"):
tar.add(yaml_file)
Expand Down

0 comments on commit 6b91699

Please sign in to comment.