projects
/
osm
/
SO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update from RIFT as of 696b75d2fe9fb046261b08c616f1bcf6c0b54a9b second try
[osm/SO.git]
/
rwlaunchpad
/
plugins
/
rwlaunchpadtasklet
/
rift
/
tasklets
/
rwlaunchpad
/
message.py
diff --git
a/rwlaunchpad/plugins/rwlaunchpadtasklet/rift/tasklets/rwlaunchpad/message.py
b/rwlaunchpad/plugins/rwlaunchpadtasklet/rift/tasklets/rwlaunchpad/message.py
index
a1827eb
..
4b6a3fd
100644
(file)
--- a/
rwlaunchpad/plugins/rwlaunchpadtasklet/rift/tasklets/rwlaunchpad/message.py
+++ b/
rwlaunchpad/plugins/rwlaunchpadtasklet/rift/tasklets/rwlaunchpad/message.py
@@
-1,5
+1,5
@@
-#
+#
# Copyright 2016 RIFT.IO Inc
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Copyright 2016 RIFT.IO Inc
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@
-42,7
+42,7
@@
class Message(object):
def __repr__(self):
return "{} {}:{}:{}".format(
self.timestamp,
def __repr__(self):
return "{} {}:{}:{}".format(
self.timestamp,
- logging._level
Names
.get(self.level, self.level),
+ logging._level
ToName
.get(self.level, self.level),
self.name,
self.text,
)
self.name,
self.text,
)
@@
-139,6
+139,15
@@
class Logger(object):
return getattr(self._rift_logger, name)
return getattr(self._rift_logger, name)
+class DownloadError(ErrorMessage):
+ def __init__(self, msg):
+ super().__init__("Download-error", msg)
+
+
+class DownloadSuccess(StatusMessage):
+ def __init__(self, msg):
+ super().__init__("Download-Successful.", msg)
+
class OnboardError(ErrorMessage):
def __init__(self, msg):
class OnboardError(ErrorMessage):
def __init__(self, msg):