Index: potx.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/potx/Attic/potx.module,v
retrieving revision 1.1.2.12.2.2.2.10.4.2
diff -u -p -r1.1.2.12.2.2.2.10.4.2 potx.module
--- potx.module	24 Aug 2009 07:33:08 -0000	1.1.2.12.2.2.2.10.4.2
+++ potx.module	7 May 2010 14:42:19 -0000
@@ -92,6 +92,10 @@ function potx_select_form_validate($form
  * Generate translation template or translation file for the requested component.
  */
 function potx_select_form_submit($form, &$form_state) {
+  global $devel_shutdown;
+
+  // Avoid devel.module putting extra output to the end of files exported.
+  $devel_shutdown = FALSE;
 
   // This could take some time.
   @set_time_limit(0);
