Commit f562ee94 authored by Seblu's avatar Seblu
Browse files

Add python 2.7 argparse in installsytems

Can be removed when min default will be python 2.7
parent 26aaa96f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -7,12 +7,13 @@ InstallSystems Image Manipulation Tool
'''

import os
import argparse
import time
import datetime
import installsystems
from installsystems.printer import *
from installsystems.image import SourceImage
# The following import can be removed when min version will be python 2.7
import installsystems.argparse as argparse

class DebugAction(argparse.Action):
    '''Set installsystems in debug mode. Argparse callback'''
+2 −1
Original line number Diff line number Diff line
@@ -7,7 +7,6 @@ InstallSystems Installation Tool
'''

import os
import argparse
import time
import datetime
import installsystems
@@ -16,6 +15,8 @@ from installsystems.printer import *
from installsystems.repository import RepositoryCache
from installsystems.image import PackageImage
from installsystems.config import ConfigFile
# The following import can be removed when min version will be python 2.7
import installsystems.argparse as argparse

class DebugAction(argparse.Action):
    '''Set installsystems in debug mode. Argparse callback'''
+2 −1
Original line number Diff line number Diff line
@@ -7,12 +7,13 @@ InstallSystems Repository Manipulation Tool
'''

import os
import argparse
import installsystems
from installsystems.printer import *
from installsystems.repository import Repository
from installsystems.image import PackageImage
from installsystems.config import ConfigFile
# The following import can be removed when min version will be python 2.7
import installsystems.argparse as argparse

class DebugAction(argparse.Action):
    '''Set installsystems in debug mode. Argparse callback'''
+2337 −0

File added.

Preview size limit exceeded, changes collapsed.