From f6e04123060efaca9dbf7aeb83cdb6943698559e Mon Sep 17 00:00:00 2001 From: Olivier Mangin Date: Fri, 12 May 2017 16:00:51 -0400 Subject: [PATCH] Missing import in update. --- pubs/update.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pubs/update.py b/pubs/update.py index aab8879..1fb983f 100644 --- a/pubs/update.py +++ b/pubs/update.py @@ -1,6 +1,7 @@ import shutil import io +import sys from . import config from . import uis from . import color @@ -33,6 +34,7 @@ def update_check(conf, path=None): return False + def update(conf, code_version, repo_version, path=None): """Runs an update if necessary, and return True in that case.""" if path is None: