Test Failed
Push — develop ( abf64f...1d1151 )
by Nicolas
02:59
created

glances/__main__.py (1 issue)

Severity
1
#!/usr/bin/env python
2
# -*- coding: utf-8 -*-
3
#
4
# Glances - An eye on your system
5
#
6
# Copyright (C) 2019 Nicolargo <[email protected]>
7
#
8
# Glances is free software; you can redistribute it and/or modify
9
# it under the terms of the GNU Lesser General Public License as published by
10
# the Free Software Foundation, either version 3 of the License, or
11
# (at your option) any later version.
12
#
13
# Glances is distributed in the hope that it will be useful,
14
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
# GNU Lesser General Public License for more details.
17
#
18
# You should have received a copy of the GNU Lesser General Public License
19
# along with this program. If not, see <http://www.gnu.org/licenses/>.
20
21
"""Allow user to run Glances as a module."""
22
23
# Execute with:
24
# $ python -m glances (2.7+)
25
26
import glances
0 ignored issues
show
import missing from __future__ import absolute_import
Loading history...
27
28
if __name__ == '__main__':
29
    glances.main()
30