Skip to content

Commit

Permalink
Added catch for unsupported or nonexistent clipboards
Browse files Browse the repository at this point in the history
  • Loading branch information
woodb committed Jul 2, 2014
1 parent b89e460 commit d0cb5f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion rural
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ from uuid import uuid4
from io import TextIOWrapper

import click
from xerox import copy
try:
from xerox import copy
except ImportError:
def copy(_):
log.warning('Failed to copy public URL to clipboard, continuing anyway')
from boto.s3.connection import S3Connection
from boto.s3.key import Key
from boto.s3.bucket import Bucket
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
__copyright__ = "Copyright 2014, Brandon Wood"
__license__ = "BSD"

__version__ = "0.0.4"
__version__ = "0.0.5"
__maintainer__ = "Brandon Wood"
__email__ = "[email protected]"
__status__ = "Development"
Expand Down

0 comments on commit d0cb5f1

Please sign in to comment.