Skip to content

Commit

Permalink
Remove local ui.py and use Bun instead
Browse files Browse the repository at this point in the history
  • Loading branch information
mhucka committed Mar 24, 2022
1 parent 2d74b05 commit 2f87150
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 341 deletions.
2 changes: 1 addition & 1 deletion eprints2bags/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
'''

import bagit
from bun import UI, inform, alert, alert_fatal
from collections import defaultdict
from commonpy.data_utils import flattened, parsed_datetime, pluralized
import getpass
Expand Down Expand Up @@ -58,7 +59,6 @@
from .files import fs_type, KNOWN_SUBDIR_LIMITS
from .files import readable, writable, make_dir
from .network import network_available, download_files, url_host
from .ui import UI, inform, warn, alert, alert_fatal


# Constants.
Expand Down
2 changes: 1 addition & 1 deletion eprints2bags/eprints.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
file "LICENSE" for more information.
'''

from bun import inform, warn, alert, alert_fatal
import codecs
from collections import defaultdict
from commonpy.data_utils import parsed_datetime
Expand All @@ -26,7 +27,6 @@
import eprints2bags
from .exceptions import *
from .network import net
from .ui import inform, warn, alert, alert_fatal


# Constants.
Expand Down
2 changes: 1 addition & 1 deletion eprints2bags/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
file "LICENSE" for more information.
'''

from bun import inform, warn, alert, alert_fatal
import http.client
from http.client import responses as http_responses
from os import path, stat
Expand All @@ -32,7 +33,6 @@

import eprints2bags
from .exceptions import *
from .ui import inform, warn, alert, alert_fatal


# Constants.
Expand Down
338 changes: 0 additions & 338 deletions eprints2bags/ui.py

This file was deleted.

0 comments on commit 2f87150

Please sign in to comment.