dev: remove obsoletes files

This commit is contained in:
Thomas NOËL 2014-11-21 11:52:17 +01:00
parent ac7fc9c915
commit 97715439ad
2 changed files with 0 additions and 36 deletions

View File

@ -1,14 +0,0 @@
diff --git a/wcs/forms/root.py b/wcs/forms/root.py
index e1215ea..346d33f 100644
--- a/wcs/forms/root.py
+++ b/wcs/forms/root.py
@@ -316,6 +316,9 @@ class FormPage(Directory):
session = get_session()
+ if get_request().get_method() == 'POST':
+ get_logger().debug('POST data: %r', get_request().form)
+
existing_formdata = None
if editing:
existing_formdata = editing.data

View File

@ -1,22 +0,0 @@
From 959e21356fde24e4557312203c665d2a787a36a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= <fpeters@entrouvert.com>
Date: Tue, 22 Jul 2014 15:36:36 +0200
Subject: workflows: makes sure workflow id is exported as a string (#5198)
diff --git a/wcs/workflows.py b/wcs/workflows.py
index 8e6b870..66b9af3 100644
--- a/wcs/workflows.py
+++ b/wcs/workflows.py
@@ -207,7 +207,7 @@ class Workflow(StorableObject):
charset = get_publisher().site_charset
root = ET.Element('workflow')
if include_id and self.id and not str(self.id).startswith('_'):
- root.attrib['id'] = self.id
+ root.attrib['id'] = str(self.id)
ET.SubElement(root, 'name').text = unicode(self.name, charset)
roles_node = ET.SubElement(root, 'roles')
--
cgit v0.10.2