hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
d593f579528d2555296b535aeae8383f5d2ee9b3 | diff --git a/utils/utils.go b/utils/utils.go
index <HASH>..<HASH> 100644
--- a/utils/utils.go
+++ b/utils/utils.go
@@ -293,6 +293,7 @@ func (w *WriteBroadcaster) Write(p []byte) (n int, err error) {
continue
}
lp = append(lp, b...)
+ lp = append(lp, '\n')
}
}
if n, err := sw.wc.Write(lp); e... | write newline after every log message. | containers_storage | train |
491757d2831f7a597ce489bed513d47dc3b9e813 | diff --git a/lib/sprockets/base.rb b/lib/sprockets/base.rb
index <HASH>..<HASH> 100644
--- a/lib/sprockets/base.rb
+++ b/lib/sprockets/base.rb
@@ -8,7 +8,8 @@ module Sprockets
# `Base` class for `Environment` and `Cached`.
class Base
include PathUtils
- include Paths, Bower, Mime, Processing, Compressing,... | Move bower resolve all to its own concern | rails_sprockets | train |
12b93fe83b9c01a8cdf5a6fe902af60c59742b99 | diff --git a/pyls/plugins/pydocstyle_lint.py b/pyls/plugins/pydocstyle_lint.py
index <HASH>..<HASH> 100644
--- a/pyls/plugins/pydocstyle_lint.py
+++ b/pyls/plugins/pydocstyle_lint.py
@@ -38,11 +38,11 @@ def pyls_lint(document):
# In the case we cannot parse the Python file, just continue
pass
... | Fixed pydocstyle_lint.py showing one diagnostic error per line, (#<I>)
* Fixed pydocstyle_lint.py showing one diagnostic error per line,
instead of show all of the at once.
* Set pydocstyle_lint.py Got pydocstyle errors to debug level instead
of info. | palantir_python-language-server | train |
65de65a997802ae01cc91ba78f576c8834a28bf2 | diff --git a/src/types/strign.test.js b/src/types/strign.test.js
index <HASH>..<HASH> 100644
--- a/src/types/strign.test.js
+++ b/src/types/strign.test.js
@@ -15,10 +15,11 @@ describe('string type', () => {
const stringType = new StringType();
stringType.validators.map(fn => expect(fn('some string')).to.be.... | feat(types): Include RegExp to allowed list of values in StringType constructor.
BREAKING_CHANGE: StringType constructor now receive one 'options' argument instead of separated
arguments (maxLength, minLength, etc.) | CheerlessCloud_twconf | train |
1f68ef767a42bc429ab43cf9ba52b582a1abd42b | diff --git a/snakeguice/injector.py b/snakeguice/injector.py
index <HASH>..<HASH> 100755
--- a/snakeguice/injector.py
+++ b/snakeguice/injector.py
@@ -58,7 +58,7 @@ class Injector(object):
def add_modules(self, modules):
provides_helper = ProvidesBinderHelper()
for module in modules:
- ... | fixed an issue caused by - <I>f9de<I> | dstanek_snake-guice | train |
b2d0812b8e45d5a81633717d54ff8b09f8040407 | diff --git a/classes/Users/ILoginProvider.php b/classes/Users/ILoginProvider.php
index <HASH>..<HASH> 100644
--- a/classes/Users/ILoginProvider.php
+++ b/classes/Users/ILoginProvider.php
@@ -12,11 +12,11 @@ namespace IvoPetkov\BearFrameworkAddons\Users;
interface ILoginProvider
{
+ public function hasLoginButton... | Updated ILoginProvider interface. | ivopetkov_users-bearframework-addon | train |
1b16ecd1ca92b5215fd1dd2494eea114824b5c13 | diff --git a/question/type/match/questiontype.php b/question/type/match/questiontype.php
index <HASH>..<HASH> 100644
--- a/question/type/match/questiontype.php
+++ b/question/type/match/questiontype.php
@@ -294,7 +294,7 @@ class question_match_qtype extends default_questiontype {
$correctrespon... | MDL-<I> - Only hightlight the correct answer if that option is set. | moodle_moodle | train |
52843cebe95fdd2598f8c804c71a5a973b1bd66f | diff --git a/lib/mini_term/ansi.rb b/lib/mini_term/ansi.rb
index <HASH>..<HASH> 100644
--- a/lib/mini_term/ansi.rb
+++ b/lib/mini_term/ansi.rb
@@ -7,17 +7,3 @@ require_relative 'ansi/term_info'
require_relative 'ansi/set_posn'
require_relative 'ansi/raw_input'
require_relative 'ansi/output'
-
-# A simple, portable t... | Remove duplicated open/close code.
Added the quiet option and restored the force close warning message. | PeterCamilleri_mini_term | train |
2cd33a184f3b75a5c1d408abd3f62c9e792fed76 | diff --git a/core/src/main/java/jenkins/model/IdStrategy.java b/core/src/main/java/jenkins/model/IdStrategy.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/jenkins/model/IdStrategy.java
+++ b/core/src/main/java/jenkins/model/IdStrategy.java
@@ -112,7 +112,9 @@ public abstract class IdStrategy extends Abstract... | [JENKINS-<I>] improve CaseInsensitive.equals(String, String) performance
The CaseInsensitive IdStrategy would always do a full string comparison
even when all that was required was an equivallence check.
updated the javadoc to clarify performance implications for subclasses
and fix the performance of the CaseInsensit... | jenkinsci_jenkins | train |
2614ce9bb56cc13c7fb47da8f27d9346df15e2b4 | diff --git a/core/network/context.go b/core/network/context.go
index <HASH>..<HASH> 100644
--- a/core/network/context.go
+++ b/core/network/context.go
@@ -12,8 +12,28 @@ var DialPeerTimeout = 60 * time.Second
type noDialCtxKey struct{}
type dialPeerTimeoutCtxKey struct{}
+type forceDirectDialCtxKey struct{}
var ... | context to force direct dial (#<I>) | libp2p_go-libp2p | train |
ad435cfed0260d55770413c1b4386fd3a5e96972 | diff --git a/src/Command/Database/TableCommand.php b/src/Command/Database/TableCommand.php
index <HASH>..<HASH> 100644
--- a/src/Command/Database/TableCommand.php
+++ b/src/Command/Database/TableCommand.php
@@ -125,7 +125,7 @@ final class TableCommand extends Command
[
$index->getN... | Add exit call to the ConsoleDispatcher.php | spiral_exceptions | train |
45154e5cbfccbfe973b30e3aa3e63ac4ee15e800 | diff --git a/lib/space_invaders/app.rb b/lib/space_invaders/app.rb
index <HASH>..<HASH> 100644
--- a/lib/space_invaders/app.rb
+++ b/lib/space_invaders/app.rb
@@ -32,7 +32,7 @@ module SpaceInvaders
super
self.caption = "Sprite Demonstration"
initialize_statics
- initialize_dynamics_and_trackes... | Fixed initialization typo in app.rb | DamirSvrtan_space-invaders.rb | train |
a3ba5a074a1cc14320878a43050cbff40ff0e60c | diff --git a/src/Ubiquity/controllers/rest/traits/DynamicResourceTrait.php b/src/Ubiquity/controllers/rest/traits/DynamicResourceTrait.php
index <HASH>..<HASH> 100644
--- a/src/Ubiquity/controllers/rest/traits/DynamicResourceTrait.php
+++ b/src/Ubiquity/controllers/rest/traits/DynamicResourceTrait.php
@@ -50,7 +50,7 @@... | [skip ci][rest] fix model ns for domains | phpMv_ubiquity | train |
cc64c166419fbf121ca402ca73ee9c7bac412905 | diff --git a/bcbio/pipeline/merge.py b/bcbio/pipeline/merge.py
index <HASH>..<HASH> 100644
--- a/bcbio/pipeline/merge.py
+++ b/bcbio/pipeline/merge.py
@@ -34,30 +34,33 @@ def combine_fastq_files(in_files, work_dir, config):
utils.save_diskspace(f2, "fastq merged to %s" % out2, config)
return o... | Avoid symlinking files, preferring to merge in batches with bamtools when necessary to avoid both line length issues and open file handle limits. #<I> | bcbio_bcbio-nextgen | train |
94dcb57f77c0507115084067664d9e59405a2320 | diff --git a/src/main/java/com/networknt/schema/JsonMetaSchema.java b/src/main/java/com/networknt/schema/JsonMetaSchema.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/networknt/schema/JsonMetaSchema.java
+++ b/src/main/java/com/networknt/schema/JsonMetaSchema.java
@@ -176,7 +176,9 @@ public class JsonMetaSche... | Add 'anchor' and 'deprecated' as NonValidationKeywords for <I>-<I> draft (#<I>) | networknt_json-schema-validator | train |
3bcce31018ea61f6f83f090c598835669f8e7e5a | diff --git a/src/Command/Generate/ThemeCommand.php b/src/Command/Generate/ThemeCommand.php
index <HASH>..<HASH> 100644
--- a/src/Command/Generate/ThemeCommand.php
+++ b/src/Command/Generate/ThemeCommand.php
@@ -160,6 +160,12 @@ class ThemeCommand extends Command
$this->trans('commands.generate.theme.op... | [generate:theme] Add --base-theme-regions option (#<I>)
* [generate:theme] Add --base-theme-regios option
* [generate:theme] Add validation to get default regions | hechoendrupal_drupal-console | train |
8ce86ebba37baf8bc711c5ba16e489ffe892a968 | diff --git a/enrol/manual/classes/enrol_users_form.php b/enrol/manual/classes/enrol_users_form.php
index <HASH>..<HASH> 100644
--- a/enrol/manual/classes/enrol_users_form.php
+++ b/enrol/manual/classes/enrol_users_form.php
@@ -104,8 +104,21 @@ class enrol_manual_enrol_users_form extends moodleform {
// Confi... | MDL-<I> enrol_manual: check cohorts exist before displaying select | moodle_moodle | train |
df38c406972227f2ed52a561aa7378e868167c5d | diff --git a/stl/base.py b/stl/base.py
index <HASH>..<HASH> 100644
--- a/stl/base.py
+++ b/stl/base.py
@@ -315,6 +315,13 @@ class BaseMesh(logger.Logged, collections.Mapping):
areas = .5 * numpy.sqrt((self.normals ** 2).sum(axis=1))
self.areas = areas.reshape((areas.size, 1))
+ def check(self):
+... | added test to fix #<I> | WoLpH_numpy-stl | train |
966b9a3ae901a6367d0bf878a503ccc8aac7db0f | diff --git a/dataviews/plots.py b/dataviews/plots.py
index <HASH>..<HASH> 100644
--- a/dataviews/plots.py
+++ b/dataviews/plots.py
@@ -50,17 +50,6 @@ class Plot(param.Parameterized):
self.handles = {'fig':None}
- def _title_fields(self, stack):
- """
- Returns the formatting fields in the ... | Removed remaining references to deprecated _title_fields method in plots | pyviz_holoviews | train |
82ea89806ed4acfb04347dfe2ed9f6da8b6d0c72 | diff --git a/bw-util-calendar/src/main/java/org/bedework/util/calendar/PropertyIndex.java b/bw-util-calendar/src/main/java/org/bedework/util/calendar/PropertyIndex.java
index <HASH>..<HASH> 100644
--- a/bw-util-calendar/src/main/java/org/bedework/util/calendar/PropertyIndex.java
+++ b/bw-util-calendar/src/main/java/org... | Fix PropertyIndex. Had multiple bad references to dtstart xml class.
Also fix ical translation by retrieving persistent category rather than indexed version.
Also missing parameter in CalSvc. | Bedework_bw-util | train |
c85fffe87ba76719a9d119532db2cd1398594494 | diff --git a/cassandra_test.go b/cassandra_test.go
index <HASH>..<HASH> 100644
--- a/cassandra_test.go
+++ b/cassandra_test.go
@@ -115,9 +115,9 @@ func createSession(tb testing.TB) *Session {
//TestRingDiscovery makes sure that you can autodiscover other cluster members when you seed a cluster config with just one nod... | The ring discovery test seems to be an issue | gocql_gocql | train |
69e6fbcdd0a09818b06145c15450dd838c93afa4 | diff --git a/src/Definition/Loader/Annotation/FieldDecorator/DoctrineFieldDefinitionDecorator.php b/src/Definition/Loader/Annotation/FieldDecorator/DoctrineFieldDefinitionDecorator.php
index <HASH>..<HASH> 100644
--- a/src/Definition/Loader/Annotation/FieldDecorator/DoctrineFieldDefinitionDecorator.php
+++ b/src/Defini... | Use constant names for DateTime type usages | ynloultratech_graphql-bundle | train |
5637330aef53fbd44e0024f90a525336dde68561 | diff --git a/package.json b/package.json
index <HASH>..<HASH> 100644
--- a/package.json
+++ b/package.json
@@ -75,7 +75,6 @@
"hat": "0.0.3",
"interface-ipfs-core": "~0.69.0",
"ipfsd-ctl": "~0.37.3",
- "lodash": "^4.17.10",
"mocha": "^5.1.1",
"ncp": "^2.0.0",
"nexpect": "~0.5.0",
@@ -138... | perf: use lodash (#<I>)
Other modules we depend on also depend on lodash. We actually save around <I>KB on bundle size if we use lodash like we use async (require functions we need from the main package) since the functions we require can be deduped because they're already being depended on.
License: MIT | ipfs_js-ipfs | train |
54214dad3d78d9bd1b8e60a68e39a9888600a5ff | diff --git a/packages/core/src/textures/Texture.js b/packages/core/src/textures/Texture.js
index <HASH>..<HASH> 100644
--- a/packages/core/src/textures/Texture.js
+++ b/packages/core/src/textures/Texture.js
@@ -498,6 +498,7 @@ export default class Texture extends EventEmitter
/**
* Returns resolution of base... | Typings fixes (#<I>) | pixijs_pixi.js | train |
055339a67cfca4903ae4dd80c2b5ac39f58a2a2c | diff --git a/src/org/jgroups/protocols/pbcast/STABLE.java b/src/org/jgroups/protocols/pbcast/STABLE.java
index <HASH>..<HASH> 100644
--- a/src/org/jgroups/protocols/pbcast/STABLE.java
+++ b/src/org/jgroups/protocols/pbcast/STABLE.java
@@ -115,6 +115,7 @@ public class STABLE extends Protocol {
/** The total numbe... | num_bytes_received is reset on STABILITY message | belaban_JGroups | train |
957693ec3f2afea70238595c9715877181ecaf6b | diff --git a/tests/PHPUnit/Integration/HttpTest.php b/tests/PHPUnit/Integration/HttpTest.php
index <HASH>..<HASH> 100644
--- a/tests/PHPUnit/Integration/HttpTest.php
+++ b/tests/PHPUnit/Integration/HttpTest.php
@@ -115,4 +115,15 @@ class HttpTest extends \PHPUnit_Framework_TestCase
$this->assertTrue(is_numeric... | Test HTTPS requests without configuring certificates | matomo-org_matomo | train |
b1eb4c7349f8ad463051abc5026f3b6e091d2da5 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -7,6 +7,7 @@ var chalk = require('chalk')
var currentNodeVersion = process.versions.node
var semver = currentNodeVersion.split('.')
var major = semver[0]
+const execSync = require('child_process').execSync
if (major < 6)... | feat: check for yarn installed before running the main script :pencil2: | CPatchane_create-cozy-app | train |
4aed56ffdae629b54d393b8de6be30d386e7be36 | diff --git a/src/Illuminate/Database/Eloquent/Relations/MorphTo.php b/src/Illuminate/Database/Eloquent/Relations/MorphTo.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Database/Eloquent/Relations/MorphTo.php
+++ b/src/Illuminate/Database/Eloquent/Relations/MorphTo.php
@@ -138,9 +138,7 @@ class MorphTo extends Bel... | Simplify gatherKeysByType method (#<I>) | laravel_framework | train |
91b03329e41dfba8b41699b8fd77c115c2d8b44a | diff --git a/salt/client/__init__.py b/salt/client/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/client/__init__.py
+++ b/salt/client/__init__.py
@@ -1030,7 +1030,7 @@ class LocalClient(object):
syndic_wait = 0
while True:
raw = self.event.get_event(timeout, jid)
- if raw ... | Process events even without 'id' in them
This was breaking syndic matching. The syndic would return its list of
expected minions, but that event does not have 'id' in it. Thus, the
master would not process that event and it would either result in huge
delays for minion returns or the returns for minions under syndic... | saltstack_salt | train |
e775f2f0efebe6b9eb4e8e3cc2a5444141619ac3 | diff --git a/src/Bugsnag/Client.php b/src/Bugsnag/Client.php
index <HASH>..<HASH> 100644
--- a/src/Bugsnag/Client.php
+++ b/src/Bugsnag/Client.php
@@ -48,6 +48,7 @@ class Bugsnag_Client
public function setReleaseStage($releaseStage)
{
$this->config->releaseStage = $releaseStage;
+ return $this... | Allow chaining of setters, update docstring | bugsnag_bugsnag-php | train |
c14e176f5f7787209def876ef79a5e99bb98d6f6 | diff --git a/lib/asset-itterator.js b/lib/asset-itterator.js
index <HASH>..<HASH> 100644
--- a/lib/asset-itterator.js
+++ b/lib/asset-itterator.js
@@ -210,7 +210,12 @@ assetItter.prototype._newAsset = function( filename, stat, hash, gzipHash ) {
var filenameNoExt = basename.substr(0, basename.length - ext.length);
... | add hash only if truncateHash is defined
avoid to have file with undefined hash when truncateHash is not set | verbling_assetflow | train |
0d136176c3bd2410c32d0cda8b45b05e1ea59ce9 | diff --git a/html/pfappserver/root/static/admin/configuration.js b/html/pfappserver/root/static/admin/configuration.js
index <HASH>..<HASH> 100644
--- a/html/pfappserver/root/static/admin/configuration.js
+++ b/html/pfappserver/root/static/admin/configuration.js
@@ -53,7 +53,7 @@ function init() {
* - configuration/a... | Authentication actions: fix initialization | inverse-inc_packetfence | train |
bc8c7633517180ee8e6dad67942cdf9e01a79203 | diff --git a/src/Bundle/DependencyInjection/NanbandoExtension.php b/src/Bundle/DependencyInjection/NanbandoExtension.php
index <HASH>..<HASH> 100644
--- a/src/Bundle/DependencyInjection/NanbandoExtension.php
+++ b/src/Bundle/DependencyInjection/NanbandoExtension.php
@@ -26,7 +26,7 @@ class NanbandoExtension extends Ext... | fixed creating local directory (#<I>) | nanbando_core | train |
40c978b0443d9cb3ee66b6e0e63ab61416deac25 | diff --git a/flink-clients/src/main/java/org/apache/flink/client/program/PackagedProgram.java b/flink-clients/src/main/java/org/apache/flink/client/program/PackagedProgram.java
index <HASH>..<HASH> 100644
--- a/flink-clients/src/main/java/org/apache/flink/client/program/PackagedProgram.java
+++ b/flink-clients/src/main... | [FLINK-<I>] [clients] Fix positive random int generation
This closes #<I> | apache_flink | train |
fc7be4f3f77dc4e73e71fe36851ed20ce6dc6d73 | diff --git a/lib/methods/plain.js b/lib/methods/plain.js
index <HASH>..<HASH> 100644
--- a/lib/methods/plain.js
+++ b/lib/methods/plain.js
@@ -3,6 +3,24 @@ var Base = require('../base')
var wrapfilter = require('../util/wrapfilter')
var isArrayLike = require('../util/is/arraylike')
+function plain (filter, parseVal... | plain works on all nested base objects | vigour-io_vjs | train |
f9d817ad1f9badf634623a852fabda25de1c473b | diff --git a/lib/Condorcet/Condorcet.php b/lib/Condorcet/Condorcet.php
index <HASH>..<HASH> 100644
--- a/lib/Condorcet/Condorcet.php
+++ b/lib/Condorcet/Condorcet.php
@@ -475,7 +475,8 @@ class Condorcet
public function addCandidate ($candidate_id = null)
{
// only if the vote has not started
- if ( $this->_Stat... | Candidate Objects can now change their names | julien-boudry_Condorcet | train |
31adc36981ff369f3eba261aa35f307555b52fbc | diff --git a/lib/tzinfo/country.rb b/lib/tzinfo/country.rb
index <HASH>..<HASH> 100644
--- a/lib/tzinfo/country.rb
+++ b/lib/tzinfo/country.rb
@@ -43,7 +43,7 @@ module TZInfo
include Comparable
# Defined countries.
- @@countries = ThreadSafe::Cache.new
+ @@countries = nil
# Whether the ... | Make Timezone and Country responsible for resetting caches in tests.
This also has the side effect of stopping RDoc from determining that
ThreadSafe is a child module of TZInfo::Timezone and TZInfo::Country. | tzinfo_tzinfo | train |
5f48e5580cd3577ce5c7c95a4c5412f3cf491048 | diff --git a/salt/modules/rvm.py b/salt/modules/rvm.py
index <HASH>..<HASH> 100644
--- a/salt/modules/rvm.py
+++ b/salt/modules/rvm.py
@@ -51,8 +51,8 @@ def _rvm(command, arguments=None, runas=None, cwd=None):
def _rvm_do(ruby, command, runas=None, cwd=None):
- return _rvm('{ruby} do {command}'.
- ... | separate command from arguments to avoid problems when adding quotes | saltstack_salt | train |
bf69e08e160755c54d7a119ef493218cec3adc33 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,7 @@
### 0.6
+(May 31, 2015)
+
- Adds pagination support
- Adds model events support
- Implements Model.load() method
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/doc... | Bumps version to <I> | sdispater_orator | train |
37158c8464ce45c4d02405885387325fa63bf5b1 | diff --git a/src/com/mebigfatguy/fbcontrib/detect/MissingMethodsDetector.java b/src/com/mebigfatguy/fbcontrib/detect/MissingMethodsDetector.java
index <HASH>..<HASH> 100644
--- a/src/com/mebigfatguy/fbcontrib/detect/MissingMethodsDetector.java
+++ b/src/com/mebigfatguy/fbcontrib/detect/MissingMethodsDetector.java
@@ -3... | better check for DUP occuring before ASTORE | mebigfatguy_fb-contrib | train |
f22177c9576dd148d958383759f9e812413e455d | diff --git a/common/unsafe/src/main/java/org/apache/spark/unsafe/types/CalendarInterval.java b/common/unsafe/src/main/java/org/apache/spark/unsafe/types/CalendarInterval.java
index <HASH>..<HASH> 100644
--- a/common/unsafe/src/main/java/org/apache/spark/unsafe/types/CalendarInterval.java
+++ b/common/unsafe/src/main/ja... | [SPARK-<I>][SQL][FOLLOWUP] Document the reason to add days field
### What changes were proposed in this pull request?
Follow up of #<I> to document the reason to add days filed and explain how do we use it
### Why are the changes needed?
only comment
### Does this PR introduce any user-facing change?
no
### How was... | apache_spark | train |
14725577623ed27878bccc473b98dd321ad58631 | diff --git a/hazelcast/src/main/java/com/hazelcast/map/impl/mapstore/writebehind/DefaultWriteBehindProcessor.java b/hazelcast/src/main/java/com/hazelcast/map/impl/mapstore/writebehind/DefaultWriteBehindProcessor.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/main/java/com/hazelcast/map/impl/mapstore/writebehind/D... | Adds thread interrupt flag check to StoreWorker | hazelcast_hazelcast | train |
3a80de67c4693c27883c3f32b6044acffe5d4078 | diff --git a/icepick/src/test/java/com/github/frankiesardo/icepick/annotation/IcicleWriterTest.java b/icepick/src/test/java/com/github/frankiesardo/icepick/annotation/IcicleWriterTest.java
index <HASH>..<HASH> 100644
--- a/icepick/src/test/java/com/github/frankiesardo/icepick/annotation/IcicleWriterTest.java
+++ b/icep... | Propagate the change to the IcicleField to the test classes | frankiesardo_icepick | train |
2e4a529ba61bf075495913ddf09be7e8124c049c | diff --git a/app/models/ninetails/revision.rb b/app/models/ninetails/revision.rb
index <HASH>..<HASH> 100644
--- a/app/models/ninetails/revision.rb
+++ b/app/models/ninetails/revision.rb
@@ -7,7 +7,7 @@ module Ninetails
has_many :sections, -> { order :created_at }, through: :revision_sections
validate :sect... | Allow blank urls, but if they have a value, they must be unique for that container | iZettle_ninetails | train |
ecd10464e8659b008e52161cc029f9d6863e33b3 | diff --git a/src/event.js b/src/event.js
index <HASH>..<HASH> 100644
--- a/src/event.js
+++ b/src/event.js
@@ -273,7 +273,17 @@ jQuery.event = {
// Event object or event type
var type = event.type || event,
namespaces = [],
- exclusive, origType, cur, ontype, handle, old, special;
+ exclusive, i, cur, old... | Fix #<I>. Precompute path for `.trigger()` to match up with W3C spec. | jquery_jquery | train |
2ce369cb5046d46f3ff6efb8c40dc0f99f7ebf8f | diff --git a/flight/Engine.php b/flight/Engine.php
index <HASH>..<HASH> 100644
--- a/flight/Engine.php
+++ b/flight/Engine.php
@@ -273,6 +273,11 @@ class Engine {
public function _start() {
$dispatched = false;
+ // Flush any existing output
+ if (ob_get_length() > 0) {
+ $this-... | Flush existing output before the start method. | mikecao_flight | train |
e0faea84c4a612492aa7afb0b0d9915fce7cb75c | diff --git a/bcbio/provenance/versioncheck.py b/bcbio/provenance/versioncheck.py
index <HASH>..<HASH> 100644
--- a/bcbio/provenance/versioncheck.py
+++ b/bcbio/provenance/versioncheck.py
@@ -6,7 +6,7 @@ import subprocess
from bcbio.pipeline import config_utils
from bcbio.log import logger
-def samtools(config):
+de... | Only require java <I> for workflows with variant calling. RNA-seq workflows can use lower version. | bcbio_bcbio-nextgen | train |
6cffc4c71898da8c6043c99217a00d211062408f | diff --git a/tests/Test/Process/ProcessTest.php b/tests/Test/Process/ProcessTest.php
index <HASH>..<HASH> 100644
--- a/tests/Test/Process/ProcessTest.php
+++ b/tests/Test/Process/ProcessTest.php
@@ -66,7 +66,7 @@ class ProcessTest extends TestCase
public function testWatch()
{
- $process = new Proces... | test(Process): fix watch test | phalcon-nucleon_framework | train |
34994909020ce48996f45197fc49de7b8de2e59e | diff --git a/src/bin/commands/setup/__tests__/questions.js b/src/bin/commands/setup/__tests__/questions.js
index <HASH>..<HASH> 100644
--- a/src/bin/commands/setup/__tests__/questions.js
+++ b/src/bin/commands/setup/__tests__/questions.js
@@ -1,15 +1,20 @@
import test from "ava"
-import questions from "../questions"
+... | Add test for new twitter option in setup command | phenomic_phenomic | train |
30234cd0b0c6120fed50df393415ad6b89a2b97e | diff --git a/spec/watirspec/browser_spec.rb b/spec/watirspec/browser_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/watirspec/browser_spec.rb
+++ b/spec/watirspec/browser_spec.rb
@@ -213,61 +213,63 @@ describe "Browser" do
end
end
- describe "#element_by_xpath" do
- before :each do
- browser.goto(Wat... | add guards for Watir | watir_watir | train |
67c623893180c237869453c0e8e0af48af2c6b71 | diff --git a/plugins/CORS.js b/plugins/CORS.js
index <HASH>..<HASH> 100644
--- a/plugins/CORS.js
+++ b/plugins/CORS.js
@@ -13,6 +13,8 @@ var plugin = module.exports = new Plugin({
if (cors === true || (Array.isArray(cors) && cors.indexOf(gw.origin) >= 0)) {
gw.cors.origin = gw.origin;
gw.cors.credent... | new automated method allowing for CORS accepted origin | pillarsjs_pillars | train |
569b9f6a9f1a3a1fc362f735e65c78a1204797e7 | diff --git a/tests/test_skype.py b/tests/test_skype.py
index <HASH>..<HASH> 100644
--- a/tests/test_skype.py
+++ b/tests/test_skype.py
@@ -39,3 +39,18 @@ class SkypeTestCase(unittest.TestCase, BaseTestCase):
AFTER: I have added you on Skype. My ID is {{SKYPE}}
"""
self.compare_before_after()... | added test for different types of skype usernames | datascopeanalytics_scrubadub | train |
4dac65f7e9b1d52645d76e154a403bc9f0a870aa | diff --git a/Legobot/Connectors/Slack.py b/Legobot/Connectors/Slack.py
index <HASH>..<HASH> 100644
--- a/Legobot/Connectors/Slack.py
+++ b/Legobot/Connectors/Slack.py
@@ -11,6 +11,7 @@ Module lovingly built with inspiration from slackhq's RtmBot
'''
import logging
+import re
import sys
import threading
import ti... | modified Slack connector. Automatically translates Slack user ids in message text to display names (if available) or nicks/names is not available) | Legobot_Legobot | train |
1a875b03b742249d0c0d00a420f79dfabe6b40ed | diff --git a/HISTORY.rst b/HISTORY.rst
index <HASH>..<HASH> 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -3,6 +3,11 @@
History
-------
+1.1.2 (2016-05-13)
+++++++++++++++++++
+
+* Fixed setup.py requires option (changed to install_requires)
+
1.1.1 (2016-04-20)
++++++++++++++++++
diff --git a/setup.py b/setup.... | Fixed setup.py requires option (changed to install_requires) | sashgorokhov_python-telegram-handler | train |
b43a143bc75d40bd86156f82c611403172fbeb2c | diff --git a/abilian/core/util.py b/abilian/core/util.py
index <HASH>..<HASH> 100644
--- a/abilian/core/util.py
+++ b/abilian/core/util.py
@@ -8,6 +8,7 @@ import sys
import functools
import logging
import time
+from datetime import datetime
import pytz
from math import ceil
import unicodedata
@@ -78,8 +79,16 @@ d... | add utcnow
shorthand to easily get current date time with UTC TZ set. | abilian_abilian-core | train |
9bddc40d7bda56ead48641d451fe1a704afce41a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ def read(fname):
setup( name = 'krypy',
packages = ['krypy'],
- version = '0.2.0',
+ version = '1.0.0',
description = 'Krylov subspace methods for linear algebraic systems',
... | bump major version due to api changes | andrenarchy_krypy | train |
544cddfd1c0b03f1b19d07c074e5ac3d80d58990 | diff --git a/pyrogram/__init__.py b/pyrogram/__init__.py
index <HASH>..<HASH> 100644
--- a/pyrogram/__init__.py
+++ b/pyrogram/__init__.py
@@ -24,7 +24,7 @@ if sys.version_info[:3] in [(3, 5, 0), (3, 5, 1), (3, 5, 2)]:
# Monkey patch the standard "typing" module because Python versions from 3.5.0 to 3.5.2 have a b... | Update Pyrogram to <I> | pyrogram_pyrogram | train |
798e41047c18882588b753905e258b7d4c3d781d | diff --git a/src/configure.js b/src/configure.js
index <HASH>..<HASH> 100644
--- a/src/configure.js
+++ b/src/configure.js
@@ -3,17 +3,18 @@ import {Loader} from 'aurelia-loader';
@inject(Loader)
export class Configure {
- environment = 'default';
- environments = false;
- directory = 'config';
- config... | fix(all): instantiate class properties from within constructor | Vheissu_aurelia-configuration | train |
73e80baee2e5ca7a933e5aa6b6d433c9b7ed23d5 | diff --git a/pkg/k8s/service.go b/pkg/k8s/service.go
index <HASH>..<HASH> 100644
--- a/pkg/k8s/service.go
+++ b/pkg/k8s/service.go
@@ -146,12 +146,11 @@ func ParseService(svc *types.Service) (ServiceID, *Service) {
for _, ip := range []net.IP{net.IPv4(0, 0, 0, 0), node.GetNodePortIPv4(), node.GetInternalIPv4()} {... | k8s: replace NodePort frontend cilium_host IP with router addr
In case of tunneling, add the internal v6 address which is part of the
cluster cidr, not the public address which is already covered through
the GetNodePortIPv6(). | cilium_cilium | train |
78a583457221d0c0baa8e51e9adba8db9420a095 | diff --git a/nionswift_plugin/DM_IO/dm3_image_utils.py b/nionswift_plugin/DM_IO/dm3_image_utils.py
index <HASH>..<HASH> 100644
--- a/nionswift_plugin/DM_IO/dm3_image_utils.py
+++ b/nionswift_plugin/DM_IO/dm3_image_utils.py
@@ -11,6 +11,7 @@
# from the tag file datatype. I think these are used more than the tag
# datr... | Add support for EELS signal type when reading/writing. | nion-software_nionswift-io | train |
06dbeae9aa1cbdefcaa0171d3d4e78772ab595b4 | diff --git a/sentry_sdk/integrations/excepthook.py b/sentry_sdk/integrations/excepthook.py
index <HASH>..<HASH> 100644
--- a/sentry_sdk/integrations/excepthook.py
+++ b/sentry_sdk/integrations/excepthook.py
@@ -13,6 +13,11 @@ class ExcepthookIntegration(Integration):
pass
def install(self, client):
+ ... | feat: Disable excepthook in interactive REPL | getsentry_sentry-python | train |
2be6b4385e625ae50f671306e6791bd2e81836e7 | diff --git a/.travis.yml b/.travis.yml
index <HASH>..<HASH> 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,9 +1,8 @@
-dist: trusty
sudo: false # Use container-based infrastructure
-language: python
+language: minimal
python:
- "2.7"
- - "3.5"
+ - "3.6"
addons:
apt:
packages:
@@ -14,8 +13,8 @@ cache:
... | small update to setup and travis | openvax_mhctools | train |
ff2f329a41bcd00335040fd911a65fcebf1b8e54 | diff --git a/tests/system/Helpers/URLHelperTest.php b/tests/system/Helpers/URLHelperTest.php
index <HASH>..<HASH> 100644
--- a/tests/system/Helpers/URLHelperTest.php
+++ b/tests/system/Helpers/URLHelperTest.php
@@ -1260,18 +1260,20 @@ class URLHelperTest extends \CodeIgniter\Test\CIUnitTestCase
$this->assertEquals('... | Add dataprovider for url_to homepage tests | codeigniter4_CodeIgniter4 | train |
4ceba2499137e90c828c824009e001e306757e23 | diff --git a/drivers/i2c/l3gd20h_driver.go b/drivers/i2c/l3gd20h_driver.go
index <HASH>..<HASH> 100644
--- a/drivers/i2c/l3gd20h_driver.go
+++ b/drivers/i2c/l3gd20h_driver.go
@@ -137,7 +137,7 @@ func (d *L3GD20HDriver) XYZ() (x float32, y float32, z float32, err error) {
}
measurements := make([]byte, 6)
if _, er... | i2c: increase test coverage for l3gd<I>h | hybridgroup_gobot | train |
429154ee0844865389832df2fc90e024ba992f8e | diff --git a/pytest_flask/fixtures.py b/pytest_flask/fixtures.py
index <HASH>..<HASH> 100755
--- a/pytest_flask/fixtures.py
+++ b/pytest_flask/fixtures.py
@@ -1,9 +1,11 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-import time
+import functools
import multiprocessing
import pytest
import socket
+import time
+i... | Mark `url` method of `live_server` fixture as deprecated
The `live_server.url` method is not used any more, so mark it as
deprecated. The better way to get live server URL is via `flask.url_for`
function.
Explicitly emit DeprecationWarning when the `live_server.url` is called.
Update test suite to remove any depreca... | pytest-dev_pytest-flask | train |
0092946f748f77770e7807d16f6c3e48ae6b14d1 | diff --git a/builtin/providers/openstack/resource_openstack_compute_instance_v2.go b/builtin/providers/openstack/resource_openstack_compute_instance_v2.go
index <HASH>..<HASH> 100644
--- a/builtin/providers/openstack/resource_openstack_compute_instance_v2.go
+++ b/builtin/providers/openstack/resource_openstack_compute_... | user_data support
Mostly stolen from: <URL> | hashicorp_terraform | train |
9303d8654ec381e35279b4eec91a2b50def6ae3b | diff --git a/poem-jvm/src/javascript/movi/src/shape.js b/poem-jvm/src/javascript/movi/src/shape.js
index <HASH>..<HASH> 100644
--- a/poem-jvm/src/javascript/movi/src/shape.js
+++ b/poem-jvm/src/javascript/movi/src/shape.js
@@ -164,10 +164,12 @@ MOVI.namespace("model");
if (canvas) {
var nodes = canvas.get... | Fixed some issue which I caused in the getBounds of the MOVI API Shape implementation
git-svn-id: <URL> | kiegroup_jbpm-designer | train |
2f28026d275c37920dde590cfbf1c01bfb82601b | diff --git a/lib/Timmy.php b/lib/Timmy.php
index <HASH>..<HASH> 100644
--- a/lib/Timmy.php
+++ b/lib/Timmy.php
@@ -863,9 +863,8 @@ class Timmy {
$crop = Helper::get_crop_for_size( $img_size );
$force = Helper::get_force_for_size( $img_size );
- // Get unfiltered meta data to prevent potential recursion.
- $m... | Fix bug when srcset sizes weren’t generated on upload | mindkomm_timmy | train |
00405e23813a1eb0a98e7f891d9fa38b067efd4b | diff --git a/addok/core.py b/addok/core.py
index <HASH>..<HASH> 100644
--- a/addok/core.py
+++ b/addok/core.py
@@ -575,9 +575,9 @@ class Search(BaseHelper):
if not limit > 0:
limit = config.BUCKET_LIMIT
ids = []
- if self.filters:
- keys.extend(self.filters)
if ... | Do not try to intersect with only filters (fix #<I>) | addok_addok | train |
41bd3fca12e0daa974842236268d1c29ddbae097 | diff --git a/lib/mongoid/sessions/options.rb b/lib/mongoid/sessions/options.rb
index <HASH>..<HASH> 100644
--- a/lib/mongoid/sessions/options.rb
+++ b/lib/mongoid/sessions/options.rb
@@ -161,7 +161,7 @@ module Mongoid
@target.send(name, *args, &block)
ensure
set_persistence_options(@targe... | Small indentation fix [skip ci] | mongodb_mongoid | train |
5cf57fdd4bdcfd39278dcacbdabb942e842af41d | diff --git a/Command/InitLockingCommand.php b/Command/InitLockingCommand.php
index <HASH>..<HASH> 100644
--- a/Command/InitLockingCommand.php
+++ b/Command/InitLockingCommand.php
@@ -12,9 +12,14 @@
namespace Integrated\Bundle\LockingBundle\Command;
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
+... | Updated the init command to be more inline with the doctrine schema update command. | integratedfordevelopers_integrated-locking-bundle | train |
b92249ec4855816c826a70c53541056a5d74423c | diff --git a/src/input/pointerevent.js b/src/input/pointerevent.js
index <HASH>..<HASH> 100644
--- a/src/input/pointerevent.js
+++ b/src/input/pointerevent.js
@@ -771,7 +771,7 @@ export function releasePointerEvent(eventType, region, callback) {
export function releaseAllPointerEvents(region) {
if (eventHandlers.... | Changed this.releasePointerEvent to releasePointerEvent as it was causing a "this is undefined" error. | melonjs_melonJS | train |
24524ecfee5ac298d7058bd7c14c61a39abb4c36 | diff --git a/library/CM/DataResponse.php b/library/CM/DataResponse.php
index <HASH>..<HASH> 100644
--- a/library/CM/DataResponse.php
+++ b/library/CM/DataResponse.php
@@ -26,4 +26,16 @@ class CM_DataResponse extends CM_Class_Abstract {
public function getData() {
return $this->_data;
}
+
+ /**
+ ... | Fix activePage detection in menus
- look for page in page and layout stacks, also consider passed activePage
- add getter on CM_DataResponse
- Store page on layout viewResponse | cargomedia_cm | train |
9f246351d9adec7e3ec66e6daefccdc56f54da1f | diff --git a/src/main/java/net/sourceforge/tess4j/ITessAPI.java b/src/main/java/net/sourceforge/tess4j/ITessAPI.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/sourceforge/tess4j/ITessAPI.java
+++ b/src/main/java/net/sourceforge/tess4j/ITessAPI.java
@@ -515,7 +515,7 @@ public interface ITessAPI {
* @... | Fix issues causing compile warnings | nguyenq_tess4j | train |
ad955d9454277aee88149db445e61414711d8d85 | diff --git a/config/initializers/clearance.rb b/config/initializers/clearance.rb
index <HASH>..<HASH> 100644
--- a/config/initializers/clearance.rb
+++ b/config/initializers/clearance.rb
@@ -1,7 +1,7 @@
unless Rails.env.maintenance?
Clearance.configure do |config|
config.mailer_sender = "donotreply@rubygems.or... | Dont use ssl cookies on tests or dev
[related #<I>] - It doesnt fix the issue in production, as it is a
clearance issue, but it resolves it in development and test. | rubygems_rubygems.org | train |
c95b3553280f2d814d33ba5484a9f774fec5171d | diff --git a/jOOR-java-6/src/main/java/org/joor/Reflect.java b/jOOR-java-6/src/main/java/org/joor/Reflect.java
index <HASH>..<HASH> 100644
--- a/jOOR-java-6/src/main/java/org/joor/Reflect.java
+++ b/jOOR-java-6/src/main/java/org/joor/Reflect.java
@@ -13,7 +13,6 @@
*/
package org.joor;
-import java.lang.invoke.Meth... | Removed MethodHandles import from Java-6. | jOOQ_jOOR | train |
4ef90c1ce0e873fdd7da0cd76eab234d67b9e4d1 | diff --git a/fermipy/gtanalysis.py b/fermipy/gtanalysis.py
index <HASH>..<HASH> 100644
--- a/fermipy/gtanalysis.py
+++ b/fermipy/gtanalysis.py
@@ -4943,7 +4943,6 @@ class GTBinnedAnalysis(fermipy.config.Configurable):
spatial_model = src['SpatialModel']
spatial_width = src['SpatialWidth']
xpi... | Enable sparse source maps by default. | fermiPy_fermipy | train |
671220def58b4eeb9960c2475f84a1309ab9f815 | diff --git a/src/Application.php b/src/Application.php
index <HASH>..<HASH> 100644
--- a/src/Application.php
+++ b/src/Application.php
@@ -62,6 +62,9 @@ class Application extends Silex\Application
$this['resources']->initialize();
$this['debug'] = $this['config']->get('general/debug', false);
+ ... | Make HTTP cache directory environment specific and a subdirectory | bolt_bolt | train |
cfc9ac4270f9af9fc4d5f60a9b1079c73e8cc2d9 | diff --git a/src/Toolstack/DrupalApp.php b/src/Toolstack/DrupalApp.php
index <HASH>..<HASH> 100755
--- a/src/Toolstack/DrupalApp.php
+++ b/src/Toolstack/DrupalApp.php
@@ -37,6 +37,7 @@ class DrupalApp extends PhpApp implements LocalBuildInterface
{
$this->command->ensureDrushInstalled();
$buildDi... | Properly escape Drush args to handle spaces in file paths | platformsh_platformsh-cli | train |
95c50460bc2390e914c3849ec643ab20a968af5e | diff --git a/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/step/TriggerViewRefreshStep.java b/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/step/TriggerViewRefreshStep.java
index <HASH>..<HASH> 100644
--- a/server/sonar-ce-task-projectanalysi... | SONAR-<I> log nb of triggered portfolio refreshes in CE | SonarSource_sonarqube | train |
013d2ad31e3ebeb9fd9e7a3832bca58047fb5511 | diff --git a/src/SoftCascade.php b/src/SoftCascade.php
index <HASH>..<HASH> 100644
--- a/src/SoftCascade.php
+++ b/src/SoftCascade.php
@@ -151,7 +151,7 @@ class SoftCascade implements SoftCascadeable
$relationConnectionName = $relation->getConnection()->getName();
$relatedClass = $relation->getRelated... | fix cascade restore for poymorphic | Askedio_laravel-soft-cascade | train |
b16238b17bcbc6eff724553e4d1bd6f41fb00101 | diff --git a/lib/nofly/version.rb b/lib/nofly/version.rb
index <HASH>..<HASH> 100644
--- a/lib/nofly/version.rb
+++ b/lib/nofly/version.rb
@@ -1,3 +1,3 @@
module Nofly
- VERSION = "0.0.2"
+ VERSION = "1.0.0"
end | increment to version 1 - wooo | jdbdnz_nofly | train |
6c7abcd86a163c526bc966716f35a810e52552d6 | diff --git a/spec/moped/query_spec.rb b/spec/moped/query_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/moped/query_spec.rb
+++ b/spec/moped/query_spec.rb
@@ -84,10 +84,6 @@ describe Moped::Query do
cursor.next["name"].should eq("create")
end
- it "returns the documents from the tail" do
- ... | Removed a test that had been accidentally duplicated | mongoid_moped | train |
d6567f3c96f3a666fad37e93d917f091707e35ce | diff --git a/spyder_notebook/widgets/client.py b/spyder_notebook/widgets/client.py
index <HASH>..<HASH> 100644
--- a/spyder_notebook/widgets/client.py
+++ b/spyder_notebook/widgets/client.py
@@ -234,7 +234,7 @@ class NotebookClient(QWidget):
self.file_url = self.add_token(url)
def go_to(self, url_or_tex... | Client: Clarify some docstrings | spyder-ide_spyder-notebook | train |
e4d4e9a0bced584110a2b21510aaef48a629980c | diff --git a/gbdxtools/images/worldview.py b/gbdxtools/images/worldview.py
index <HASH>..<HASH> 100644
--- a/gbdxtools/images/worldview.py
+++ b/gbdxtools/images/worldview.py
@@ -47,11 +47,18 @@ class WorldViewImage(RDABaseImage):
def _build_graph(cls, cat_id, band_type="MS", proj="EPSG:4326", gsd=None, acomp=Fals... | defining band methods explicitly as first class citizens on worldview | DigitalGlobe_gbdxtools | train |
c43f72e96177b98bd8e225c6d5acd9c6a3c446e3 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -482,7 +482,7 @@ gulp.task('serve', ['default'], function() {
// Generate release archive containing just JS, CSS, Source Map deps
gulp.task('zip:mdl', function() {
- gulp.src(['dist/material.*@(js|css)?(.map)... | modify RE to avoid including <I> color combo css files in mdl.zip (Closes #<I>) | google_material-design-lite | train |
c2f6e1d4776fdf838b97c5052c8429a6c399b071 | diff --git a/controller/DeliveryServer.php b/controller/DeliveryServer.php
index <HASH>..<HASH> 100755
--- a/controller/DeliveryServer.php
+++ b/controller/DeliveryServer.php
@@ -21,12 +21,16 @@
*/
namespace oat\taoDelivery\controller;
+
+use common_exception_Error;
+use common_Logger;
use oat\taoDelivery\model\e... | Fixed a bug related to the uncertain classes | oat-sa_extension-tao-delivery | train |
145333aafe66c5587ef85235658f1eac6498e803 | diff --git a/dougrain/curie.py b/dougrain/curie.py
index <HASH>..<HASH> 100644
--- a/dougrain/curie.py
+++ b/dougrain/curie.py
@@ -15,4 +15,4 @@ class CurieCollection(dict):
if key not in self:
return link
- return self[key].url(relation=value)
+ return self[key].url(rel=value)
dif... | Change CURIE token to "rel".
For some unknown reason, we were using "relation", which does not conform with draft-kelly-json-hal-<I>. | wharris_dougrain | train |
8184a1806220b305c386e15fae67e6ab2ce3dba3 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -8,8 +8,14 @@ compile_ext_mod = False
# import statements
import os
import sys
-from distutils.core import setup, Extension
+from distutils.core import Extension
from distutils.util import get_platform
+try:
+ # First t... | Use setuptools setup method if setuptools package is available
(idea contributed by Hunter Blanks <EMAIL>). | seb-m_pyinotify | train |
24052e41876116b878efaeabf35685edd22a713e | diff --git a/lib/Charts/ChartRenderer.js b/lib/Charts/ChartRenderer.js
index <HASH>..<HASH> 100644
--- a/lib/Charts/ChartRenderer.js
+++ b/lib/Charts/ChartRenderer.js
@@ -266,30 +266,25 @@ class ChartRenderer {
// Create the y-axis as needed.
// -----------------
// y axis group
- d3Sy... | refactor dynamic yaxis | TerriaJS_terriajs | train |
22ae6762e53c5f0037c3ab004babb5ada768af91 | diff --git a/src/main/java/com/couchbase/lite/replicator/PullerInternal.java b/src/main/java/com/couchbase/lite/replicator/PullerInternal.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/couchbase/lite/replicator/PullerInternal.java
+++ b/src/main/java/com/couchbase/lite/replicator/PullerInternal.java
@@ -63,6 ... | Reduce puller's insertion delay from 1sec to <I>sec
Ported from <URL> | couchbase_couchbase-lite-java-core | train |
76d7dbd75e6f97a4327f9234cb59a09846bbb346 | diff --git a/Classes/Domain/Validator/ElectronicAddressValidator.php b/Classes/Domain/Validator/ElectronicAddressValidator.php
index <HASH>..<HASH> 100644
--- a/Classes/Domain/Validator/ElectronicAddressValidator.php
+++ b/Classes/Domain/Validator/ElectronicAddressValidator.php
@@ -67,8 +67,9 @@ class ElectronicAddress... | [~TASK] TYPO3 (Setup): Integrated person information for the account creation
[~BUGFIX] Party: Fixed the electronic address validator for NULL primaryElectronicAddress | neos_party | train |
7bdcbea51284b47b2cada15b5f55381fd2dc4815 | diff --git a/lib/puppet/provider/service/upstart.rb b/lib/puppet/provider/service/upstart.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/provider/service/upstart.rb
+++ b/lib/puppet/provider/service/upstart.rb
@@ -7,11 +7,14 @@ Puppet::Type.type(:service).provide :upstart, :parent => :debian do
desc "Ubuntu servi... | (PUP-<I>) Enable upstart service provider on Redhat
This commit allows the upstart service provider to function on Redhat
systems. Redhat 6 included support for upstart and while it wasn't
widely embraced it is available for use.
The 'serial' and 'tty' services on Redhat 6 systems have instances which
the service typ... | puppetlabs_puppet | train |
c3881f287358bae81c5467caf2b7de809652e906 | diff --git a/scraper/gen_code_gov_json.py b/scraper/gen_code_gov_json.py
index <HASH>..<HASH> 100755
--- a/scraper/gen_code_gov_json.py
+++ b/scraper/gen_code_gov_json.py
@@ -25,6 +25,7 @@ def main():
parser.add_argument('--config', type=str, nargs='?', default='', help='Configuration File (*.json)')
parser... | Added cli argument for skipping labor hour calculation | LLNL_scraper | train |
56e136529b30d32f9b2fa2ae8b1a6f78931756ce | diff --git a/bika/lims/upgrade/v3_2_0_1705.py b/bika/lims/upgrade/v3_2_0_1705.py
index <HASH>..<HASH> 100644
--- a/bika/lims/upgrade/v3_2_0_1705.py
+++ b/bika/lims/upgrade/v3_2_0_1705.py
@@ -145,11 +145,10 @@ def remove_attachment_duplicates(portal, pgthreshold=1000):
# Now.
count = 0
for fn, att, dup, w... | Prevent migration from removing valid attachment links from analyses | senaite_senaite.core | train |
b0d87d3c5be89d840a30259e67f1054c24830c68 | diff --git a/bosh_cli/lib/cli/resources/package.rb b/bosh_cli/lib/cli/resources/package.rb
index <HASH>..<HASH> 100644
--- a/bosh_cli/lib/cli/resources/package.rb
+++ b/bosh_cli/lib/cli/resources/package.rb
@@ -12,8 +12,10 @@ module Bosh::Cli::Resources
# @param [String] directory base Release directory
def s... | Fix ignoring of non-directories in release package dir. | cloudfoundry_bosh | train |
86f70b0414b66f605e06fba3728e31b778f7de06 | diff --git a/croppie.js b/croppie.js
index <HASH>..<HASH> 100755
--- a/croppie.js
+++ b/croppie.js
@@ -694,6 +694,10 @@
y2 = y1 + vpData.height,
scale = self._currentZoom;
+ if(scale === Infinity){
+ scale = 1;
+ }
+
x1 /= scale;
x2 ... | Fix infinite scale
Fix scale issue when no cropping action has been performed and result is
invoked | Foliotek_Croppie | train |
ad75f8d74dd640b1062124478c11689230f42fc0 | diff --git a/bidict/_base.py b/bidict/_base.py
index <HASH>..<HASH> 100644
--- a/bidict/_base.py
+++ b/bidict/_base.py
@@ -298,16 +298,20 @@ class BidictBase(BidirectionalMapping):
# else neither isdupkey nor isdupval.
return dedup_result
- @staticmethod
- def _isdupitem(key, val, dedup_result... | Small refactor to make _isdupitem more DRY. | jab_bidict | train |
fc50c109080ce931bc2a8e8bda1886b17be92b6a | diff --git a/string_utils/generation.py b/string_utils/generation.py
index <HASH>..<HASH> 100644
--- a/string_utils/generation.py
+++ b/string_utils/generation.py
@@ -13,13 +13,23 @@ __all__ = [
]
-def uuid() -> str:
+def uuid(as_hex: bool = False) -> str:
"""
Generated an UUID string (using `uuid.uuid4(... | uuid() has now an `as_hex` param to return the UUID as hex | daveoncode_python-string-utils | train |
225e91e31c91e3098823ebfb2952cb316f78f21e | diff --git a/aeron-mediadriver/src/main/java/uk/co/real_logic/aeron/mediadriver/DataFrameHandler.java b/aeron-mediadriver/src/main/java/uk/co/real_logic/aeron/mediadriver/DataFrameHandler.java
index <HASH>..<HASH> 100644
--- a/aeron-mediadriver/src/main/java/uk/co/real_logic/aeron/mediadriver/DataFrameHandler.java
+++ ... | [Java:] Correct pluralisation in method name. | real-logic_aeron | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.