Skip to content

Commit 262faff

Browse files
authored
auto release for 0.9.0
auto incr version
1 parent ea719c5 commit 262faff

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## 0.9.0 (2020-05-21)
2+
3+
FEATURES:
4+
5+
- Add `ucloudstack` product
6+
7+
ENHANCEMENTS:
8+
9+
- Add `deprecated` decorator
10+
111
## 0.8.2 (2020-03-12)
212

313
BUG FIXES:

ucloud/core/utils/deco.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,12 @@ def deprecated(instead_of="", message=""):
1616
def deco(fn):
1717
@functools.wraps(fn)
1818
def wrapper(*args, **kwargs):
19-
msg = ["this function/method `{}` is deprecated".format(fn.__name__)]
20-
instead_of and msg.append("please use `{}` instead".format(instead_of))
19+
msg = [
20+
"this function/method `{}` is deprecated".format(fn.__name__)
21+
]
22+
instead_of and msg.append(
23+
"please use `{}` instead".format(instead_of)
24+
)
2125
message and msg.append(message)
2226
logger.warning(", ".join(msg))
2327
return fn(*args, **kwargs)

ucloud/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "0.8.2"
1+
version = "0.9.0"

0 commit comments

Comments
 (0)