Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
45ff6411
Commit
45ff6411
authored
Jan 10, 2012
by
Monika Komorowska
Browse files
deleted misplaced croak statement
parent
0d9f6dc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
misc-scripts/xref_mapping/XrefParser/Database.pm
misc-scripts/xref_mapping/XrefParser/Database.pm
+2
-5
No files found.
misc-scripts/xref_mapping/XrefParser/Database.pm
View file @
45ff6411
...
...
@@ -164,9 +164,8 @@ sub create {
if
(
$drop_db
)
{
$dbh
->
do
(
"
DROP DATABASE
$dbname
"
);
print
"
Database
$dbname
dropped
\n
"
if
(
$self
->
verbose
)
;
}
}
else
{
if
(
!
$drop_db
)
{
my
$p
;
if
(
$force
){
$p
=
'
yes
';
...
...
@@ -183,9 +182,7 @@ sub create {
print
"
$dbname
NOT removed
\n
";
exit
(
1
);
}
}
else
{
croak
(
"
Database
$dbname
already exists.
"
.
'
Use -create option to overwrite it.
'
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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