Skip to content

Commit

Permalink
Merge pull request rucio#1643 from hahahannes/patch-1639-error_oracle…
Browse files Browse the repository at this point in the history
…_version_check

Core & Internals: Fixed typo in oracle version check; Fix rucio#1639
  • Loading branch information
bari12 committed Oct 12, 2018
2 parents fc5dbee + 5985d13 commit 41abaf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rucio/core/did.py
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,7 @@ def get_did_meta(scope, name, session=None):
:param name: the name of the did
"""
if session.bind.dialect.name == 'oracle':
oracle_version = int(session.connection.connection.version.split('.')[0])
oracle_version = int(session.connection().connection.version.split('.')[0])
if oracle_version < 12:
raise NotImplementedError

Expand Down

0 comments on commit 41abaf7

Please sign in to comment.