Skip to content

Commit

Permalink
Use correct __safe_string_wrapper in object_wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Mar 4, 2015
1 parent 318376f commit ab6f13e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/galaxy/util/object_wrapper.py
Expand Up @@ -378,19 +378,19 @@ def __rpow__( self, other ):
# Do not implement in-place operands

def __neg__( self ):
return __safe_string_wrapper_function__( -self.unsanitized )
return self.__safe_string_wrapper_function__( -self.unsanitized )

def __pos__( self ):
return __safe_string_wrapper_function__( +self.unsanitized )
return self.__safe_string_wrapper_function__( +self.unsanitized )

def __abs__( self ):
return __safe_string_wrapper_function__( abs( self.unsanitized ) )
return self.__safe_string_wrapper_function__( abs( self.unsanitized ) )

def __invert__( self ):
return __safe_string_wrapper_function__( ~self.unsanitized )
return self.__safe_string_wrapper_function__( ~self.unsanitized )

def __complex__( self ):
return __safe_string_wrapper_function__( complex( self.unsanitized ) )
return self.__safe_string_wrapper_function__( complex( self.unsanitized ) )

def __int__( self ):
return int( self.unsanitized )
Expand Down

0 comments on commit ab6f13e

Please sign in to comment.