From 080e3e54a3d48cff6569a097206b0d8c7b563ff8 Mon Sep 17 00:00:00 2001 From: ZyX Date: Sun, 21 Sep 2014 02:12:36 +0400 Subject: [PATCH] Add deprecation warning to powerline.segments.common --- powerline/segments/common/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/powerline/segments/common/__init__.py b/powerline/segments/common/__init__.py index 3a67901e..f5ec2fa9 100644 --- a/powerline/segments/common/__init__.py +++ b/powerline/segments/common/__init__.py @@ -2,6 +2,10 @@ from __future__ import (unicode_literals, division, absolute_import, print_function) +# DEPRECATED MODULE. Do not add any segments below. Do not remove existing +# segments as well until next major release. + + from powerline.segments.common.vcs import branch # NOQA from powerline.segments.common.sys import cpu_load_percent # NOQA from powerline.segments.common.sys import uptime # NOQA