Changeset 12445 for trunk


Ignore:
Timestamp:
01/28/11 13:55:49 (13 years ago)
Author:
ramonb
Message:

sara_cmt/cluster/templatetags/ramonb_extras.py;

  • this comment section was incorrect
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sara_cmt/sara_cmt/cluster/templatetags/ramonb_extras.py

    r12444 r12445  
    8787            if not (a[0] == a[-1] and a[0] in ('"', "'")):
    8888                try:
    89                     # RB: assume strings are quoted
     89                    # RB: no quotes must mean its an variable
    9090                    #
    9191                    a_var = template.Variable( a )
     
    102102
    103103            else:
     104                #RB: assume strings are quoted
    104105                #RB: strip quotes from string
     106                #
    105107                a = str( a.strip("'").strip('"') )
    106108                resvars.append( str(a) )
Note: See TracChangeset for help on using the changeset viewer.