Changes between Initial Version and Version 1 of Ticket #27562


Ignore:
Timestamp:
03/29/19 00:42:18 (3 years ago)
Author:
slelievre
Comment:

Note: re-using this ticket created by mistake; the one about cycle basis for multiedges is at #27563.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27562

    • Property Reporter changed from gh-abhayptp to slelievre
    • Property Component changed from PLEASE CHANGE to packages: optional
    • Property Summary changed from Fixes cycle basis for multiedges to Fix string formatting in ValueError in sql_db.py
    • Property Priority changed from major to minor
    • Property Keywords beginner added
    • Property Type changed from PLEASE CHANGE to task
  • Ticket #27562 – Description

    initial v1  
     1In `src/sage/databases/sql_db.py`, lines 465--467,
     2{{{
     3            if query_dict['table_name'] not in skel:
     4                raise ValueError("Database has no table" \
     5                    + str(query_dict['table_name']) + ".")
     6}}}
     7should be
     8{{{
     9            if query_dict['table_name'] not in skel:
     10                raise ValueError("Database has no table %s"
     11                    % query_dict['table_name'])
     12}}}