commit/galaxy-central: dan: Fix for when hours_between_check is defined in ini.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/882f51a4d9dc/ Changeset: 882f51a4d9dc User: dan Date: 2014-05-14 18:04:47 Summary: Fix for when hours_between_check is defined in ini. Affected #: 1 file diff -r 8b8b08da7231d3ea2bf7ccb6585a20f7e0c64cad -r 882f51a4d9dced2ce731c5b4afa5bed9623933c2 lib/galaxy/config.py --- a/lib/galaxy/config.py +++ b/lib/galaxy/config.py @@ -108,6 +108,8 @@ self.manage_dependency_relationships = string_as_bool( kwargs.get( 'manage_dependency_relationships', False ) ) self.running_functional_tests = string_as_bool( kwargs.get( 'running_functional_tests', False ) ) self.hours_between_check = kwargs.get( 'hours_between_check', 12 ) + if isinstance( self.hours_between_check, basestring ): + self.hours_between_check = float( self.hours_between_check ) try: if isinstance( self.hours_between_check, int ): if self.hours_between_check < 1 or self.hours_between_check > 24: Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org