diff Python/sysmodule.c @ 65638:d7d323de35e7

sys_update_path(): update sys.path even if argc==0
author Victor Stinner <victor.stinner@haypocalc.com>
date Mon, 25 Oct 2010 17:37:23 +0000
parents be8ae6b17539
children 8304bd765bcf
line wrap: on
line diff
--- a/Python/sysmodule.c	Mon Oct 25 17:37:18 2010 +0000
+++ b/Python/sysmodule.c	Mon Oct 25 17:37:23 2010 +0000
@@ -1748,8 +1748,6 @@
     if (path == NULL)
         return;
 
-    if (argc == 0)
-        return;
     argv0 = argv[0];
 
 #ifdef HAVE_READLINK