Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
1bb5168b
Commit
1bb5168b
authored
Nov 21, 2011
by
JINMEI Tatuya
Browse files
[1404] don't do anything if the DB doesn't exist
parent
4d3aef6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
compatcheck/sqlite3-difftbl-check.py.in
View file @
1bb5168b
...
...
@@ -28,6 +28,11 @@ if len(args) == 0:
parser.error('missing argument')
db_file = args[0]
# If the file doesn't exist, there's nothing to do
if not os.path.exists(db_file):
sys.exit(0)
conn = sqlite3.connect(db_file)
cur = conn.cursor()
try:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment