Paste #166700

   
pasted on 05.03.2021 12:24
  • Edit to this paste
  • Print
  • Raw
  • The following pastes replied to this paste:  # 277078
  • Show paste tree
  • Compare with paste
    #  
  • Toggle line numbers
  • Syntax highlighting  
Text paste
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
--- /usr/lib64/python2.7/site-packages/calculate/lib/datavars.py.orig	2021-03-05 12:24:03.567599408 +0300
+++ /usr/lib64/python2.7/site-packages/calculate/lib/datavars.py	2021-03-05 12:24:10.038598855 +0300
@@ -1273,8 +1273,8 @@
         return section
 
     def raiseVariableNotFound(self, varname, *args, **kwargs):
-        #import traceback
-        #traceback.print_stack()
+        import traceback
+        traceback.print_stack()
         #print "Variable not found:", varname
         raise DataVarsError(_("Variable %s not found") % varname)
 
Add Comment
Author