Improperly Raising Exception in FTS3 Transfertool
Motivation
----------
File "/usr/lib/python2.7/site-packages/rucio/transfertool/fts3.py", line 221, in submit
raise('No transfer id returned by %s' % self.external_host)
TypeError: exceptions must be old-style classes or derived from BaseException, not unicode


Modification
------------
Needs to raise an actual exception class.


diff --git a/lib/rucio/transfertool/fts3.py b/lib/rucio/transfertool/fts3.py
index 1463477f5..a9c9c6047 100644
--- a/lib/rucio/transfertool/fts3.py
+++ b/lib/rucio/transfertool/fts3.py
@@ -218,7 +218,7 @@ class FTS3Transfertool(Transfertool):
             record_counter('transfertool.fts3.%s.submission.failure' % self.__extract_host(self.external_host), len(files))
 
         if not transfer_id:
-            raise('No transfer id returned by %s' % self.external_host)
+            raise TransferToolWrongAnswer('No transfer id returned by %s' % self.external_host)
         return transfer_id
 
     def cancel(self, transfer_ids, timeout=None):
['lib/rucio/transfertool/fts3.py']