Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #11588 (closed)

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

Bug: Settings containing Python string formatting are not displayed correctly

Reported by: aknab Owned by: aknab
Priority: minor Milestone: OMERO-4.4.10
Component: OmeroPy Version: 4.4.9
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: n.a.

Description

The "omero config get" command displays settings using a safePrint method, which applies the Python % operator on the setting string, interpolating any contained format.

To reproduce:

$ omero config set A %s
$ omero config get A
{'program_name': '/Users/andreas/omero/openmicroscopy/dist/bin/omero'}

Change History (2)

comment:1 Changed 10 years ago by Josh Moore <josh@…>

  • Remaining Time set to 0
  • Resolution set to fixed
  • Status changed from new to closed

(In [6553ce064e89908aa631ec7418b80a41d6a0bbed/ome.git] on branch develop) Merge pull request #1681 from knabar/fix-11588-config-get

Fix #11588 Settings containing Python string formatting are not displayed correctly

comment:2 Changed 10 years ago by Josh Moore <josh@…>

(In [934064dfb374d84eaccf2ac5dc140754bb828f65/ome.git] on branch dev_4_4) Merge pull request #1682 from knabar/fix-11588-config-get-4

Fix #11588 Settings containing Python string formatting are not displayed correctly (for dev_4_4)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.65113 sec.)

We're Hiring!