375 @rtype dict |
375 @rtype dict |
376 """ |
376 """ |
377 data = { |
377 data = { |
378 "project_name": self.project.getProjectName(), |
378 "project_name": self.project.getProjectName(), |
379 "show_external": self.showExternalImports, |
379 "show_external": self.showExternalImports, |
|
380 "package": ( |
|
381 Utilities.fromNativeSeparators(self.__relPackagePath) |
|
382 if self.__relPackagePath |
|
383 else Utilities.fromNativeSeparators(self.packagePath) |
|
384 ), |
380 } |
385 } |
381 |
|
382 data["package"] = ( |
|
383 Utilities.fromNativeSeparators(self.__relPackagePath) |
|
384 if self.__relPackagePath |
|
385 else Utilities.fromNativeSeparators(self.packagePath) |
|
386 ) |
|
387 |
386 |
388 return data |
387 return data |
389 |
388 |
390 def fromDict(self, version, data): |
389 def fromDict(self, version, data): |
391 """ |
390 """ |