Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 859237 Details for
Bug 1060735
traceback in malformed jinja_render block
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
[PATCH] Allow unicode strings for jinja_render arguments
0001-Allow-unicode-strings-for-jinja_render-arguments.patch (text/plain), 1.34 KB, created by
Tomáš Bžatek
on 2014-02-04 16:46:20 UTC
(
hide
)
Description:
[PATCH] Allow unicode strings for jinja_render arguments
Filename:
MIME Type:
Creator:
Tomáš Bžatek
Created:
2014-02-04 16:46:20 UTC
Size:
1.34 KB
patch
obsolete
>From 19fb73bde974cf634fc758ee71da209caef29490 Mon Sep 17 00:00:00 2001 >From: Tomas Bzatek <tbzatek@redhat.com> >Date: Mon, 3 Feb 2014 17:12:12 +0100 >Subject: [PATCH] Allow unicode strings for jinja_render arguments > >https://bugzilla.redhat.com/show_bug.cgi?id=1060735 >--- > devassistant/command_runners.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/devassistant/command_runners.py b/devassistant/command_runners.py >index a037a06..4079240 100644 >--- a/devassistant/command_runners.py >+++ b/devassistant/command_runners.py >@@ -643,11 +643,11 @@ class Jinja2Runner(CommandRunner): > raise exceptions.CommandException('Missed template parameter or wrong type') > template = args['template'] > >- if 'source' not in template or not isinstance(template['source'], str): >+ if 'source' not in template or not isinstance(template['source'], (str, unicode)): > raise exceptions.CommandException('Missed template parameter or wrong type') > template = template['source'] > >- if 'destination' not in args or not isinstance(args['destination'], str): >+ if 'destination' not in args or not isinstance(args['destination'], (str, unicode)): > raise exceptions.CommandException('Missed destination parameter or wrong type') > > if not os.path.isdir(args['destination']): >-- >1.8.5.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1060735
:
858576
|
858577
|
858669
|
858695
| 859237