Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Commit

Permalink
allow for overwriting existing packages, fixes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
eeue56 committed Mar 20, 2016
1 parent d6c9651 commit 369bbd2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions elm_self_publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import argparse

def copy_package(location, destination):
shutil.rmtree(destination, ignore_errors=True)
shutil.copytree(location, destination)

def package_name(url):
Expand Down

0 comments on commit 369bbd2

Please sign in to comment.