summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ccm/Conflicts.py1
-rw-r--r--ccm/Constants.py.in1
-rw-r--r--ccm/Pages.py3
-rw-r--r--ccm/Settings.py1
-rw-r--r--ccm/Utils.py1
-rw-r--r--ccm/Widgets.py1
-rw-r--r--ccm/Window.py1
7 files changed, 2 insertions, 7 deletions
diff --git a/ccm/Conflicts.py b/ccm/Conflicts.py
index 8ae8f7b..abe3a40 100644
--- a/ccm/Conflicts.py
+++ b/ccm/Conflicts.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# This program is free software; you can redistribute it and/or
diff --git a/ccm/Constants.py.in b/ccm/Constants.py.in
index f6e2c0e..a2934e6 100644
--- a/ccm/Constants.py.in
+++ b/ccm/Constants.py.in
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# This program is free software; you can redistribute it and/or
diff --git a/ccm/Pages.py b/ccm/Pages.py
index 4ff897c..3689d7c 100644
--- a/ccm/Pages.py
+++ b/ccm/Pages.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# This program is free software; you can redistribute it and/or
@@ -840,6 +839,8 @@ class ProfileBackendPage(object):
dlg.set_markup(_("Do you want to skip default option values while exporting your profile?"))
ret = dlg.run()
dlg.destroy()
+ if not path.endswith(".profile"):
+ path = "%s.profile" % path
self.Context.Export(path, ret == gtk.RESPONSE_YES)
def ImportProfileDialog (self, main):
diff --git a/ccm/Settings.py b/ccm/Settings.py
index 9a1d077..619b1f5 100644
--- a/ccm/Settings.py
+++ b/ccm/Settings.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# This program is free software; you can redistribute it and/or
diff --git a/ccm/Utils.py b/ccm/Utils.py
index d7fc256..cf62548 100644
--- a/ccm/Utils.py
+++ b/ccm/Utils.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# This program is free software; you can redistribute it and/or
diff --git a/ccm/Widgets.py b/ccm/Widgets.py
index 961d194..ff61628 100644
--- a/ccm/Widgets.py
+++ b/ccm/Widgets.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# This program is free software; you can redistribute it and/or
diff --git a/ccm/Window.py b/ccm/Window.py
index 3246af4..9478f34 100644
--- a/ccm/Window.py
+++ b/ccm/Window.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# This program is free software; you can redistribute it and/or