human
Solve the following python programming problem given the following code:
def inposition(keyword, lookforurl, positions = '') : 
    'Return the position a provided lookforurl is in for a given keyword.' 
    if (not positions) : 
        def gpositions(keyword) : 
            global positions 
            return positions (keyword) 
positions = gpositions (gpositions) 
else : 
        if positions : 
            urldict = json.loads (positions) 
            for (thepos, aurl) in urldict.iteritems () : 
                if (lookforurl.lower () == aurl.lower ()) : 
                    return thepos 

    
    

    Fix the buggy line: positions = gpositions (gpositions)
assistant
#Here is Python program to fix the buggy line: positions = gpositions (gpositions)
.

positions = gpositions (keyword)