Removed unused variable
This commit is contained in:
parent
bdddb29b64
commit
3012a08ff3
@ -24,8 +24,6 @@
|
|||||||
#
|
#
|
||||||
# Language definition here:
|
# Language definition here:
|
||||||
# http://ltworf.github.io/relational/grammar.html
|
# http://ltworf.github.io/relational/grammar.html
|
||||||
import re
|
|
||||||
|
|
||||||
from relational import rtypes
|
from relational import rtypes
|
||||||
|
|
||||||
RELATION = 0
|
RELATION = 0
|
||||||
|
@ -190,8 +190,6 @@ class Relation (object):
|
|||||||
For example if you want to rename a to b, call
|
For example if you want to rename a to b, call
|
||||||
rel.rename({'a':'b'})
|
rel.rename({'a':'b'})
|
||||||
'''
|
'''
|
||||||
result = []
|
|
||||||
|
|
||||||
newt = relation()
|
newt = relation()
|
||||||
newt.header = self.header.rename(params)
|
newt.header = self.header.rename(params)
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
# author Salvo "LtWorf" Tomaselli <tiposchi@tiscali.it>
|
# author Salvo "LtWorf" Tomaselli <tiposchi@tiscali.it>
|
||||||
|
|
||||||
import os
|
|
||||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||||
|
|
||||||
try: # If QtWebKit is available, uses it
|
try: # If QtWebKit is available, uses it
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#
|
#
|
||||||
# author Salvo "LtWorf" Tomaselli <tiposchi@tiscali.it>
|
# author Salvo "LtWorf" Tomaselli <tiposchi@tiscali.it>
|
||||||
|
|
||||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
from PyQt5 import QtGui, QtWidgets
|
||||||
|
|
||||||
from relational_gui import rel_edit
|
from relational_gui import rel_edit
|
||||||
from relational import relation
|
from relational import relation
|
||||||
|
@ -17,9 +17,9 @@
|
|||||||
# author Salvo "LtWorf" Tomaselli <tiposchi@tiscali.it>
|
# author Salvo "LtWorf" Tomaselli <tiposchi@tiscali.it>
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from PyQt5 import QtCore, QtWidgets, QtWidgets, QtGui
|
from PyQt5 import QtCore, QtWidgets, QtGui
|
||||||
|
|
||||||
from relational import relation, parser, optimizer, rtypes
|
from relational import parser, optimizer, rtypes
|
||||||
from relational.maintenance import UserInterface
|
from relational.maintenance import UserInterface
|
||||||
|
|
||||||
from relational_gui import about
|
from relational_gui import about
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
import platform
|
import platform
|
||||||
import locale
|
import locale
|
||||||
|
|
||||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
from PyQt5 import QtWidgets
|
||||||
|
|
||||||
from relational import maintenance
|
from relational import maintenance
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user