[Pydev-cvs] org.python.pydev/src/org/python/pydev/ui/filetypes FileTypesPreferencesPage.java, 1.1,
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2008-05-05 01:31:16
|
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/ui/filetypes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1588/src/org/python/pydev/ui/filetypes Modified Files: FileTypesPreferencesPage.java Log Message: Handling __bootstrap__ module (loads compiled module instead of source module). Index: FileTypesPreferencesPage.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/ui/filetypes/FileTypesPreferencesPage.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FileTypesPreferencesPage.java 22 Oct 2007 00:28:51 -0000 1.1 --- FileTypesPreferencesPage.java 5 May 2008 01:31:22 -0000 1.2 *************** *** 167,171 **** */ public static boolean isValidDll(String path) { ! if (path.endsWith(".pyd") || path.endsWith(".so") || path.endsWith(".dll")) { return true; } --- 167,181 ---- */ public static boolean isValidDll(String path) { ! if (path.endsWith(".pyd") || path.endsWith(".so") || path.endsWith(".dll") || path.endsWith(".a")) { ! return true; ! } ! return false; ! } ! /** ! * @param extension extension we want to analyze ! * @return if the extension passed belongs to a valid python compiled extension ! */ ! public static boolean isValidDllExtension(String extension) { ! if (extension.equals("pyd") || extension.equals("so") || extension.equals("dll") || extension.equals("a")) { return true; } |