Skip to content

Commit

Permalink
Change dependency check
Browse files Browse the repository at this point in the history
Now that the [corresponding PR in aiida-core](aiidateam/aiida-core#3787) has been merged, we know that 1.6 still has the old syntax, and the new changes will appear in 2.x only so I suggest to change this check
  • Loading branch information
giovannipizzi authored Jun 9, 2021
1 parent f0563be commit 13fecf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiida_sshonly/transports/sshonly.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import aiida
from distutils.version import StrictVersion # pylint: disable=no-name-in-module,import-error
if aiida.get_strict_version() < StrictVersion('1.6.0'):
if aiida.get_strict_version() < StrictVersion('2.0.0'):
from .ssh import SshTransport
else:
from aiida.transports.plugins.ssh import SshTransport
Expand Down

0 comments on commit 13fecf2

Please sign in to comment.