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 858695 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 string for the jinja_render/destination argument
0001-Allow-unicode-string-for-the-jinja_render-destinatio.patch (text/plain), 1.01 KB, created by
Tomáš Bžatek
on 2014-02-03 16:16:29 UTC
(
hide
)
Description:
[PATCH] Allow unicode string for the jinja_render/destination argument
Filename:
MIME Type:
Creator:
Tomáš Bžatek
Created:
2014-02-03 16:16:29 UTC
Size:
1.01 KB
patch
obsolete
>From fd3daca840f44843301476f4c4a2156f5f2e6254 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 string for the jinja_render/destination > argument > >--- > devassistant/command_runners.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/devassistant/command_runners.py b/devassistant/command_runners.py >index a037a06..d4c736a 100644 >--- a/devassistant/command_runners.py >+++ b/devassistant/command_runners.py >@@ -647,7 +647,7 @@ class Jinja2Runner(CommandRunner): > 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