[TIC-CORE] change the license from apache 2.0 to flora 1.1
[archive/20170607/tools/tic-core.git] / tic / utils / error.py
index e361097..fc64cec 100644 (file)
@@ -1,14 +1,11 @@
 #!/usr/bin/python
-# Copyright (c) 2000 - 2016 Samsung Electronics Co., Ltd. All rights reserved.
+# Copyright (c) 2016 Samsung Electronics Co., Ltd
 #
-# Contact: 
-# @author Chulwoo Shin <cw1.shin@samsung.com>
-# 
-# Licensed under the Apache License, Version 2.0 (the "License");
+# Licensed under the Flora License, Version 1.1 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at
 #
-# http://www.apache.org/licenses/LICENSE-2.0
+#     http://floralicense.org/license/
 #
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS,
@@ -37,9 +34,4 @@ class TICError(Exception):
     def __repr__(self):
         if not hasattr(self, 'keyword') or not self.keyword:
             self.keyword = self.__class__.__name__
-        return "<%s> %s" % (self.keyword, str(self))
-    
-
-class RepoError(TICError):
-    """ Error class for Repository related """
-    keyword = 'Repository'
\ No newline at end of file
+        return "<%s> %s" % (self.keyword, str(self))
\ No newline at end of file