Ticket #637: sage-637-part3.patch

File sage-637-part3.patch, 837 bytes (added by was, 13 years ago)
  • sage/server/notebook/twist.py

    # HG changeset patch
    # User William Stein <wstein@gmail.com>
    # Date 1210817747 25200
    # Node ID a757175c868730cd9c414b976fa9a75b2eec3a49
    # Parent  6eca3be50ce0dd16fe3fa31f53fd9f574fabf70d
    trac #637 -- tiny followup.
    
    diff -r 6eca3be50ce0 -r a757175c8687 sage/server/notebook/twist.py
    a b class UploadWorksheet(resource.PostableR 
    309309        dir = ''  # we will delete the directory below if it is used
    310310        if url != '':
    311311            # downloading a file from the internet
    312             tmp = get_remote_file(url, verbose=True)
     312            filename = get_remote_file(url, verbose=True)
    313313        else:
    314314            # uploading a file from the user's computer
    315315            dir = tmp_dir()