Skip to content

Commit

Permalink
Merge pull request #42 from thombashi/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
thombashi committed Sep 10, 2016
2 parents 094d0e2 + ad67e88 commit c31f96b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions setup.py
Expand Up @@ -5,8 +5,8 @@

REQUIREMENT_DIR = "requirements"

needs_pytest = set(['pytest', 'test', 'ptr']).intersection(sys.argv)
pytest_runner = ['pytest-runner'] if needs_pytest else []
needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv)
pytest_runner = ["pytest-runner"] if needs_pytest else []


with open("README.rst") as fp:
Expand All @@ -23,7 +23,7 @@

setuptools.setup(
name="SimpleSQLite",
version="0.4.7",
version="0.4.8",
url="https://github.com/thombashi/SimpleSQLite",
bugtrack_url="https://github.com/thombashi/SimpleSQLite/issues",

Expand All @@ -35,7 +35,7 @@
keywords=["SQLite", "CSV", "JSON", "Excel", "Google Sheets"],
long_description=long_description,
license="MIT License",
packages=setuptools.find_packages(exclude=['test*']),
packages=setuptools.find_packages(exclude=["test*"]),
setup_requires=pytest_runner,
tests_require=tests_require,

Expand Down
2 changes: 1 addition & 1 deletion simplesqlite/loader/spreadsheet/gsloader.py
Expand Up @@ -118,7 +118,7 @@ def load(self):
yield TableData(
self.make_table_name(), header_list, record_list)
except gspread.exceptions.SpreadsheetNotFound:
raise OpenError("spread sheet not found")
raise OpenError("spreadsheet '{}' not found".format(self.title))

def _is_empty_sheet(self):
return len(self.__all_values) <= 1
Expand Down

0 comments on commit c31f96b

Please sign in to comment.