Skip to content

Commit

Permalink
Change absolute import to relative import
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-panda committed Jul 16, 2019
1 parent e6db741 commit 96728d0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
QPushButton, QApplication, QHBoxLayout, QVBoxLayout, \
QMessageBox, QPlainTextEdit
from PyQt5.QtCore import *
from src.visualstates.githubtools.uploadfile import UploadFile
from ....githubtools.uploadfile import UploadFile

class LibraryExportDialog(QDialog):
def __init__(self, username, password, xmlFile):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

from PyQt5.QtWidgets import QDialog, QVBoxLayout, QHBoxLayout, QLabel, QPlainTextEdit, QPushButton
from PyQt5.QtCore import Qt
from src.visualstates.githubtools.downloadfile import DownloadFile
from ....githubtools.downloadfile import DownloadFile

class FilePropertiesDialog(QDialog):
def __init__(self, name, description):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
QApplication, QHBoxLayout, QVBoxLayout, QScrollArea, \
QGroupBox, QBoxLayout
from PyQt5.QtCore import Qt, pyqtSignal
from src.visualstates.gui.tools.elidedlabel import ElidedLabel
from src.visualstates.githubtools.downloadfile import DownloadFile
from src.visualstates.gui.dialogs.libraryimport.filepropdialog import FilePropertiesDialog
from .filepropdialog import FilePropertiesDialog
from ...tools.elidedlabel import ElidedLabel
from ....githubtools.downloadfile import DownloadFile

class FileImportDialog(QDialog):
fileStr = pyqtSignal('QString')
Expand Down
4 changes: 2 additions & 2 deletions src/visualstates/gui/visualstates.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
from .dialogs.namespacedialog import NamespaceDialog
from .dialogs.librariesdialog import LibrariesDialog
from .dialogs.rosconfigdialog import RosConfigDialog
from src.visualstates.gui.dialogs.libraryexport.libraryexportdialog import LibraryExportDialog
from src.visualstates.gui.dialogs.libraryexport.githubcreddialog import GithubCredentialsDialog
from .dialogs.libraryexport.libraryexportdialog import LibraryExportDialog
from .dialogs.libraryexport.githubcreddialog import GithubCredentialsDialog
from .dialogs.libraryimport.libraryimportdialog import FileImportDialog
from ..configs.rosconfig import RosConfig
from ..generators.cpprosgenerator import CppRosGenerator
Expand Down

0 comments on commit 96728d0

Please sign in to comment.