Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
pitivi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Millan Castro
pitivi
Commits
965f0a10
Commit
965f0a10
authored
Mar 20, 2014
by
Jeff Fortin Tam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
application: Fix version check when running a version newer than what's online
parent
49b954cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
pitivi/application.py
pitivi/application.py
+6
-1
No files found.
pitivi/application.py
View file @
965f0a10
...
...
@@ -204,7 +204,12 @@ class Pitivi(Loggable, Signallable):
current_version
=
version
self
.
info
(
"Latest software version is %s"
,
current_version
)
if
status
is
"UNSUPPORTED"
:
# Python is magical... comparing version *strings* always works,
# even with different major.minor.nano version number schemes!
if
VERSION
>
current_version
:
status
=
"CURRENT"
self
.
info
(
"Running version %s, which is newer than the latest known version. Considering it as the latest current version."
,
VERSION
)
elif
status
is
"UNSUPPORTED"
:
self
.
warning
(
"Using an outdated version of Pitivi (%s)"
,
VERSION
)
self
.
_version_information
[
"current"
]
=
current_version
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment