from __future__ import absolute_import, division, print_function

changed the behavior to import division and print to be consistent
across all app and similar with python 3.x
This commit is contained in:
MirceaDan 2016-07-15 00:16:58 -07:00
parent d767d19ffb
commit c33a9f9aa2
96 changed files with 99 additions and 93 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env python2
# coding=utf-8
from __future__ import absolute_import, print_function
from __future__ import absolute_import, division, print_function
import sys
import logging

View file

@ -9,6 +9,7 @@
# versioneer-0.15+dev (https://github.com/warner/python-versioneer)
"""Git implementation of _version.py."""
from __future__ import absolute_import, division, print_function
import errno
import os

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
__copyright__ = "Copyright (C) 2015 The OctoPrint Project - Released under terms of the AGPLv3 License"

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
__copyright__ = "Copyright (C) 2015 The OctoPrint Project - Released under terms of the AGPLv3 License"

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
__copyright__ = "Copyright (C) 2015 The OctoPrint Project - Released under terms of the AGPLv3 License"

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
__copyright__ = "Copyright (C) 2015 The OctoPrint Project - Released under terms of the AGPLv3 License"

View file

@ -5,8 +5,8 @@ Generic linux daemon base class
Originally from http://www.jejik.com/articles/2007/02/a_simple_unix_linux_daemon_in_python/#c35
"""
from __future__ import (print_function, absolute_import)
import sys, os, time, signal
from __future__ import absolute_import, division, print_function
import sys, os, time, signal, io
class Daemon:
"""

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import (print_function, absolute_import)
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>, Lars Norpchen"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,4 +1,5 @@
# coding=utf-8
from __future__ import absolute_import, division, print_function
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
class FileDestinations(object):

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -13,7 +13,7 @@ registered plugin types.
:members:
"""
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -20,7 +20,7 @@ way and could be extracted into a separate Python module in the future.
"""
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -14,7 +14,7 @@ Please note that the plugin implementation types are documented in the section
"""
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
__copyright__ = "Copyright (C) 2015 The OctoPrint Project - Released under terms of the AGPLv3 License"

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
#!/bin/env python2
from __future__ import absolute_import, print_function
from __future__ import absolute_import, division, print_function
__author__ = "Gina Haeussge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -15,7 +15,7 @@ abstracted version of the actual printer communication.
:members:
"""
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -3,7 +3,7 @@
This module holds the standard implementation of the :class:`PrinterInterface` and it helpers.
"""
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Marc Hannappel Salandora"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
__copyright__ = "Copyright (C) 2015 The OctoPrint Project - Released under terms of the AGPLv3 License"

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
from flask import make_response
__author__ = "Gina Häußge <osd@foosel.net>"

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -17,7 +17,7 @@ of various types and the configuration file itself.
:undoc-members:
"""
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -12,7 +12,7 @@ In this module the slicing support of OctoPrint is encapsulated.
:members:
"""
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -26,7 +26,7 @@ Slicing related exceptions.
"""
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -3,6 +3,7 @@
This module bundles commonly used utility methods or helper classes that are used in multiple places withing
OctoPrint's source code.
"""
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,4 +1,4 @@
from __future__ import absolute_import, division, print_function
avrChipDB = {
'ATMega1280': {
'signature': [0x1E, 0x97, 0x03],

View file

@ -1,3 +1,4 @@
from __future__ import absolute_import, division, print_function
import io
def readHex(filename):

View file

@ -1,8 +1,9 @@
from __future__ import absolute_import, division, print_function
import os, struct, sys, time
from serial import Serial
import chipDB
from . import chipDB
class IspBase():
def programChip(self, flashData):

View file

@ -1,9 +1,10 @@
from __future__ import absolute_import, division, print_function
import os, struct, sys, time
from serial import Serial
from serial import SerialException
import ispBase, intelHex
from . import ispBase, intelHex
class Stk500v2(ispBase.IspBase):
def __init__(self):

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net> based on work by David Braam"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2013 David Braam - Released under terms of the AGPLv3 License"

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -2,7 +2,7 @@
"""
This module provides a bunch of utility methods and helpers FOR DEVELOPMENT ONLY.
"""
from __future__ import absolute_import, division, print_function
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
import contextlib

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net> based on work by David Braam"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
__copyright__ = "Copyright (C) 2013 David Braam, Gina Häußge - Released under terms of the AGPLv3 License"

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
__copyright__ = "Copyright (C) 2015 The OctoPrint Project - Released under terms of the AGPLv3 License"

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,4 +1,4 @@
from __future__ import print_function
from __future__ import absolute_import, division, print_function
import os
import sys

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
__copyright__ = "Copyright (C) 2015 The OctoPrint Project - Released under terms of the AGPLv3 License"

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import, print_function
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
from octoprint.printer.estimation import TimeEstimationHelper
__author__ = "Gina Häußge <osd@foosel.net>"

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import (print_function, absolute_import)
from __future__ import absolute_import, division, print_function
import unittest
import mock

View file

@ -2,7 +2,7 @@
"""
Unit tests for octoprint.users
"""
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
__copyright__ = "Copyright (C) 2015 The OctoPrint Project - Released under terms of the AGPLv3 License"

View file

@ -1,5 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from __future__ import absolute_import, division, print_function
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'